The abstract keyword may modify a class or a method.
An abstract class can be extended (subclassed) but cannot be instantiated directly.
An abstract method is not implemented in the class in which it is declared, but must be overridden in some
The abstract keyword cannot be applied to methods that are static, private or final, since such methods
cannot be overridden and therefore cannot be implemented in subclasses.
No methods of a final class may be abstract since a final class cannot be subclassed.Syntax:
access_specifier abstract class class_name
public abstract class MyClass
public abstract String myMethod();
Java Enterprise Edition (EE)
Java Standard Edition (SE)
RFC (standard status)
RFC (proposed standard status)
RFC (draft standard status)
RFC (informational status)
RFC (experimental status)
RFC (best current practice status)
RFC (historic status)
RFC (unknown status)
All information of this service is derived from the free sources and is provided solely in the form of quotations.
This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 978 / 159176086. Delta: 0.00286 с