Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

Java Abstract Class

// create an abstract class
abstract class Language {
  // fields and methods
}
...

// try to create an object Language
// throws an error
Language obj = new Language();
Source by www.baeldung.com #
 
PREVIOUS NEXT
Tagged: #Java #Abstract #Class
ADD COMMENT
Topic
Name
8+5 =