Abstract Page
Abstract
Return to Computer science topics
See Abstract class, Abstract method, abstract data structure, abstraction
* Java abstract - The abstract keyword is used to declare abstract methods and abstract classes. An abstract method has no implementation defined; it is declared with arguments and a return type as usual, but the body enclosed in curly braces is replaced with a semicolon. The implementation of an abstract method is provided by a subclass of the class in which it is defined. If an abstract method appears in a class, the class is also abstract. Attempting to instantiate an abstract class will fail at compile time." (LrnJav 2023)
{{wp>Abstract}}
{{navbar_footer}}