What is Object Oriented Principle(OOPs) in Java?

There are four basic concept of Object Oriented Programing Language are :
  • Abstraction
  • Encapsulation
  • Inheritance
  • Polymorphism
Here we explain one by one

 Abstraction
 Abstraction is a process of providing necessary attribute and operation and hiding unrelated attributes and relations. That means we should not provide that attributes and methods which are not useful for the user.
Example: we can take real time example as TV remote, end users only know external functionality of remote not need to know about the internal functionality 











0 comments :

Post a Comment