Tuesday, November 29, 2011

Core Java Interview Questions :How to define an Interface?

In Java Interface defines the methods but does not implement them. Interface can include constants. A class that implements the interfaces is bound to implement all the methods defined in Interface.:interface contains abstract methods only.It does not contain the body of the methods.It definitely override by the class which implement that method......:Interface is syntatically similar to classes. Its variables and methods are declared without any defination(body).

No comments:

Post a Comment