Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

abstract class java

Abstract classes have some special features:

it's impossible to create an instance of an abstract class;
an abstract class can contain abstract methods that must be implemented in non-abstract subclasses;
it can contain fields and non-abstract methods (including static);
an abstract class can extend another class, including abstract;
it can contain a constructor.
Source by www.java67.com #
 
PREVIOUS NEXT
Tagged: #abstract #class #java
ADD COMMENT
Topic
Name
1+4 =