OOPs is a style of computer programming that represents concepts as objects that have states and behaviors. e.g. objective-c, c#, Java.
Difference between Object Oriented Programming and Procedural Programming.
Procedural Programming |
Object-Oriented Programming |
- In Procedural Programming, a program is created in a step-by-step instructional format and instructions are executed in order.
- Follow a top-down approach.
- Less secure because it does not have any proper way of data hiding.
- Does not provide a code re-usability feature.
- Doesn’t provide the ability to simulate real-world events much more effectively.
- Slow development.
|
- In Object Oriented Programming a program is created in a way such as real world works.
- Follow bottom to top approach.
- Secure because it has a proper way of data hiding.
- Provide code reusability feature.
- Provide the ability to simulate real-world events with more effect.
- Fast Development.
|
Difference between Object Oriented and Object based language.
Object-oriented language |
Object-based language |
- Supports all the features of OOPs.
- Doesn’t have an in-built object.
- E.g. C#, Java etc.
|
- Doesn’t support all the features of OOPs (like Inheritance, and polymorphism).
- Has an in-built object (like a window object in JavaScript).
- E.g. JavaScript, VB, etc.
|
Please follow and like us: