Object Oriented Programming Language (OOPs)
OOPs stand for Object Oriented Programming Language.
OOPs is a programming concept that works on principle of Abstraction, Inheritence, Polymorphism and Encapsulation.
OOPs allows user to create an object to access the property and change the property.
Mainly OOPs is used for code reusability.
There are following concepts of OOPs :
- Class
- Object
- Inheritence and Association
- Polymorphism
- Interface and Abstraction
- Encapsulation
What is the difference between OOPs and SOP (Structure Oriented Programming).
There are following differences :
OOPs (Object Oriented Programming) | SOP (Structure Oriented Programming) |
---|---|
OOPs stand for Object Oriented Programming Language. | SOP stand for Structure Oriented Programming Language. |
Any real world problems are divided in to the classes and objects. | Any real world problems are divided in to the functions. |
It supports Bottom-Up approach. | It supports Top-Down approach. |
It does not supports Structure. | It supports Structure. |
It provide flexibility. | It does not provide flexibility. |
It supports inheritance. | It does not supports inheritance. |
It supports code reusability using inheritance. | It does not supports code reusability. |
It does not supports code redundancy. | It supports code redundancy. |
In OOPs maintaince cost is low. | In SOP maintaince cost is high. |
OOPs focus on data. | SOP focus on doing the things. |
It supports data hiding. | It does not supports data hiding. |
It supports newly data type. | It does not supports new data type. |
In OOPs code length is short. | In SOP code length is long. |
Example : Java, C#, Python, PHP etc. | Example : C, Pascal etc. |
1 comment:
This blog is very useful for beginners,thnq.Please make some videos about core java.its very helpful for us.
Post a Comment