Abstract
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.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsAuthor information
Authors and Affiliations
Rights and permissions
Copyright information
© 2018 Springer Nature Switzerland AG
About this chapter
Cite this chapter
Ogihara, M. (2018). Interfaces, Inheritance, and Polymorphism. In: Fundamentals of Java Programming. Springer, Cham. https://doi.org/10.1007/978-3-319-89491-1_17
Download citation
DOI: https://doi.org/10.1007/978-3-319-89491-1_17
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-89490-4
Online ISBN: 978-3-319-89491-1
eBook Packages: Computer ScienceComputer Science (R0)