Showing posts with label IMPLEMENTING. Show all posts
Showing posts with label IMPLEMENTING. Show all posts

Wednesday, 22 January 2014

INTERFACES IN JAVA

INTERFACE 


Defining an Interface, Implementing Interfaces,Accessing Implementations Through Interface References,Partial Implementations

An  interface is a collection of abstract methods. A class implements an interface, thereby inheriting the abstract methods of the interface.An interface is not a class. Writing an interface is similar to writing a class, but they are two different concepts. A class describes the attributes and behaviors of an object. An interface contains behaviors that a class implements.