Swipe to navigate through the chapters of this book
An interface is a template for building a Java class. The components of an interface are static methods, constants, and abstract methods. An abstract method is a method header followed by a semicolon and is without a body. All abstract methods have public visibility. An abstract method specifies only its syntax, but not its semantics.
Please log in to get access to this content
To get access to this content you need the following product:
- Interfaces, Inheritance, and Polymorphism
- Springer International Publishing
- Sequence number
- Chapter number