Java OOPs

Object is a real word entity such as pen, pencil, chair, table etc.

It is a methodology to design a program using classes and objects.

The main aim of this approach is to implement real world entities i.e. object, classes, abstraction, encapsulation, inheritance, polymorphism etc.

Java supports the following fundamental concepts of OOP :-

  1. class
  2. Object
  3. Instance
  4. Method
  5. Polymorphism
  6. Inheritance
  7. Encapsulation
  8. Abstraction