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.
CITATION STYLE
Ogihara, M. (2018). Interfaces, Inheritance, and Polymorphism. In Fundamentals of Java Programming (pp. 427–455). Springer International Publishing. https://doi.org/10.1007/978-3-319-89491-1_17
Mendeley helps you to discover research relevant for your work.