OOP or Object Oriented Programming Concepts ko samajhnay k lie Zarori hai k humay pata ho kay Classes,Functions kia hoti hai.
Class Kia Hoti hai :
• Ali ,usman,sara, doctor, engineer HUMAN CLASS say belong kartay hai
• Cat,Birds,Dog ANIMAL CLASS say belong kartay hai
• Disprin,Calpol,Injection MEDICINE CLASS say belong kartay hai
Objects ?
Wo tamam chezain joo is dunya mai hai sab objects hai egg say leaky insan aur minerals etc;
Object hamesha kisi class say belong karta hai;
Classification of objects are called Class; for example;
HUMAN CLASS OBJECTS ARE; Ali ,usman,sara, doctor, engineer
Functions :
For example Human ki Class mai Saray insan atay hai unkay function kia hain
• WALKING
• SLEEPING
• EATING
So, Ali ,uzma,sara, umer jo k HUMAN CLASS KI OBJECTS HAI un sab k function same hogay.
OOP?
OOP kay Advantages :
Human class mai jitney onjects ayengay Means (All Humans) un kay Functions / Properties Same hogay . Yani humay ek dafa define karna parega kay
Properties:
- 2 ears, 2legs, 2hands, 2eyes
Functions:
-sleeping
-drinking
-listening
Yeh Class ek ban gae hai . Ab duniya mai jitney bi HUMAN aengay sab mai Human Class ki Properties & Functions hogay
Means Ek dafa Hum nay Class bana le hai Ab Us ke Properties us kay har objects pay apply hongi
Like ;
Ali has 2 eyes , 2 ears , 2 legs (properties) & can Walk,Talk,Eat,Drink (functions)
Sara has 2 eyes , 2 ears , 2 legs (properties) & can Walk,Talk,Eat,Drink (functions)
Umer has 2 eyes , 2 ears , 2 legs (properties) & can Walk,Talk,Eat,Drink (functions)
All Human has 2 eyes , 2 ears , 2 legs (properties) & can Walk,Talk,Eat,Drink (functions)
ALL OBJECTS BELONGS TO HUMAN CLASS HAS ;
has 2 eyes , 2 ears , 2 legs (properties) & can Walk,Talk,Eat,Drink (functions)
Muhammad Usman Sharif
(MCPD,MCTS)
Microsoft .Net Platform Dev.
Aga Khan University, Karachi
next please?
ReplyDeleteplz define about OOP concepts
ReplyDelete* Inheritance
* Polymorphism
* Encapsulation
* Abstration
4 pillars of object oriented programmings (OOPs) are:-
Delete1.Abstraction
Abstraction is a process of exposing essential feature of an entity
while hiding other irrelevant detail.
2.Encapsulation
Encapsulation is somehow related to Data Hiding.
Encapsulation is when you hide your modules internal data and all other implementation details/mechanism from other modules.
3.Inheritance
The ability of creating a new class from an existing class.
4. Polymorphism
Polymorphism refers to the ability to take into different forms or stages.A subclass can define its own unique behavior and still share the same functionalities or behavior of its parent/base class,BUT!! not vice versa. A parent class cannot have the behavior of its subclass.
very,,can you explain these in detail?
ReplyDeletefarhan ansari
ReplyDeletehow to receive data dataset on the rendomly
shukriya bhai..
ReplyDeleteKya aap oops concept bta sakte hai?with programs?
*Inheritance
* Polymorphism
* Encapsulation
* Abstration
very good.
ReplyDeletekin languages ka daro madar OOP par hota hai
please define it
Regards
we want more lecture about OPP please send ASAP
ReplyDeletezishan yousaf
gladiatorzeeshan@gmail.com
?
ReplyDelete.net framework mein
ReplyDeletects
cls
dll
Poratable execution
code managed
string name
assemble
in ko just do do line mein define kardein plz
nice post. very easy way to teach us what is oop
ReplyDeleteshehzad Ali saddique
ReplyDeleteThanks Usman sharif, may i have Please some more lecture in detail about advance OOP, as like polymorphisim, inheritence, interface etc @ umairkhalil36@yahoo.com
ReplyDeleteBro kuch ma body prob bi ho skta ha (i'm serious )
ReplyDeletethnx dear but please next bhi guid krain ur info conve method is gud (y)
ReplyDeletenice
ReplyDeletehttp://www.mycodingland.com/2015/08/what-is-token-in-c-using-oop.html
Encapsulatio is a mechanism of wrapping a data and code together into a single unit..
ReplyDeletekabli v smje julsun k tusi keh pay akhanre o oooooooppppppp
ReplyDeletekabli v smje julsun k tusi keh pay akhanre o oooooooppppppp
ReplyDeleteNice sir
ReplyDeletewww.doc4share.com
ReplyDeleteoop kay concept mukamal ho gaey
ReplyDeleteoop kay concept mukamal ho gaey
ReplyDeleteoop kay concept mukamal ho gaey
ReplyDeletegood bro is k sath ak code example bhe hoti to zada better tha?
ReplyDeleteWhat's the next?
ReplyDeleteThis comment has been removed by the author.
ReplyDeletevery nice sir g
ReplyDeletecan you send me your web site where we contact you about listing oop
please send me link
www.doc4share.com
ReplyDeleteVery nice
ReplyDeleteAwesome! Education is the extreme motivation that open the new doors of data and material. So we always need to study around the things and the new part of educations with that we are not mindful.
ReplyDeleteData Science training in Chennai
Data science online training
I was looking for this certain information for a long time. Thank you and good luck.
ReplyDeleteData Science course in kalyan nagar
Data Science course in OMR
Data Science course in chennai
Data science course in velachery
Data science course in jaya nagar
Data Science interview questions and answers
Very nice i easily understand oop
ReplyDeleteYour work is very good and I appreciate you and hopping for some more informative posts
ReplyDeleteDot Net Training in Chennai | Dot Net Training in anna nagar | Dot Net Training in omr | Dot Net Training in porur | Dot Net Training in tambaram | Dot Net Training in velachery
This blog very nice..great information share to all.. i am so used this technical easy to understand.. thank for your information!!
ReplyDeleteAndroid Training in Chennai
Android Online Training in Chennai
Android Training in Bangalore
Android Training in Hyderabad
Android Training in Coimbatore
Android Training
Android Online Training
BusinessEducation
ReplyDeleteAlgorithmic Excellence Choosing the Right Algorithms for Python Optimization
Your blog is nice. I believe this will surely help the readers who are really in need of this vital piece of information.Demystifying Data: A Guide to Practical Analytics
ReplyDelete