Thursday, July 4, 2013

4 Principles of OOPS

There are four principle concepts upon which object oriented design and programming rest. 
Here is the four principles:

  • Abstraction
  • In Java Abstration is use to show only the relevant features of a class to the user of that class and hide certain details which is not essential for the user of that class.

    In java Abstraction can be achieve by using Abstract class or Interface.
  • Polymorphism
  • Inheritance
  • Encapsulation

1 comment: