OOPs (Object Oriented Programming system)

OOPs (Object Oriented Programming system)

Java is an object oriented language. It provides us a program environment where we can create object and perform operation on them.

Concept of OOPs as follows:

• Object
• Class
• Inheritance
• Polymorphism
• Abstraction
• Encapsulation

Advantage of OOP:

  • Using inheritance we can achieve reusability. We can also eliminate redundant code.
  • The principle of data hiding helps to build secure program.
  • Since java objects represent real world object, so oops provide a clear structure of the program which becomes easy to map real world problem and give solution.
  • It enhances program modularity since each object exists independently.

Leave a Reply

Your email address will not be published. Required fields are marked *