KEYWORD interface Vs. Term INTERFACE

Objects define their interaction with the outside world through the methods they expose. Methods form the object’s interface with the outside world. The term interface refers to the exposed methods of an object. The keyword interface defines a set of methods but does not implement them. In Java, the keyword interface defines both variables and methods. It cannot provide implementations for its methods. An interface defines only the members that will be made available by an implementing object. To tell the computer that a new class will implement all the functions of an interface, the programmer must use the keyword implements. In Java, the keyword interface defines both variables and methods. It cannot provide implementations for its methods.

To Access the full content, Please Purchase