Wednesday, 15 July 2015

Interface

Topics

1. Introduction to interface.

An interface in java is a blueprint of a class. It has static constants and abstract methods only.
The interface in java is a mechanism to achieve fully abstraction. There can be only abstract methods in the java interface not method body. It is used to achieve fully abstraction and multiple inheritance in Java.
Java Interface also represents IS-A relationship.


Image result for interface in java

No comments:

Post a Comment