Content deleted Content added
ClueBot NG (talk | contribs) m Reverting possible vandalism by 202.53.81.25 to version by Materialscientist. Report False Positive? Thanks, ClueBot NG. (3275983) (Bot) |
No edit summary |
||
Line 1:
An '''interface''' in the [[Java (programming language)|Java programming language]] is an [[abstract type]] that is used to specify a
Interfaces cannot be [[Instance (computer science)|instantiated]], but rather are implemented. A class that implements an interface must implement all of the non-default methods described in the interface, or be an [[abstract class]]. Object references in Java may be specified to be of an interface type; in each case, they must either be [[null pointer|null]], or be bound to an object that implements the interface.
|