Object-oriented programming style

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
  1. In Procedural Programming, a program is created in a step-by-step instructional format and instructions are executed in order.
  2. Follow a top-down approach.
  3. Less secure because it does not have any proper way of data hiding.
  4. Does not provide a code re-usability feature.
  5. Doesn’t provide the ability to simulate real-world events much more effectively.
  6. Slow development.
  1. In Object Oriented Programming a program is created in a way such as real world works.
  2. Follow bottom to top approach.
  3. Secure because it has a proper way of data hiding.
  4. Provide code reusability feature.
  5. Provide the ability to simulate real-world events with more effect.
  6. Fast Development.

Difference between Object Oriented and Object based language.

       Object-oriented language  Object-based language
  1. Supports all the features of OOPs.
  2. Doesn’t have an in-built object.
  3. E.g. C#, Java etc.
  1. Doesn’t support all the features of OOPs (like Inheritance, and polymorphism).
  2. Has an in-built object (like a window object in JavaScript).
  3. E.g.  JavaScript, VB, etc.