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.
- Polymorphism
- Inheritance
- Encapsulation
In java Abstraction can be achieve by using Abstract class or Interface.
please describe 4 principle details.
ReplyDelete