Java Imp Points

  • Abstraction is a Hiding the implementation details and showing only functionality to user .
  • Encapsulation hides the data .
  • we cannot use any abstract method without abstract class .
  • we cannot use final in abstract method , because , abstract method needs  overridden and we cannot override the final .
  • Not possible to instantiate the abstract class .
  • Interface is a blue print of a class that have static constants and abstract methods. It can be used to achieve fully abstraction and multiple inheritance . 
  • we cannot use interface as final .
  • Marker interface don't have data member and method . eg . serializable , cloneable etc .

No comments:

Post a Comment

Optimize your Programming Skills

  Java is The most Powerful Programming Language , Because of it's Oops Concept and it's Compilation Process . After The Compilatio...