n the Java programming language, an interface is a reference type, similar to a class, that can contain only constants, method signatures, and nested types. There are no method bodies. interfaces cannot be instantiated—they can only be implemented by classes or extended by other interfaces.
An interface can contain constant declarations in addition to method declarations. All constant values defined in an interface are implicitly public, static, and final.
Showing posts with label interface. Show all posts
Showing posts with label interface. Show all posts
Thursday, June 12, 2008
Subscribe to:
Comments (Atom)