What is an abstract class ? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 2

What is an abstract class ?

13th Aug 2020, 4:56 PM
Prabhat - avatar
2 Antworten
+ 1
An abstract class is a class intended to be extended by other classes. It cannot be instantiated and it may contain abstract methods. Abstract methods are methods without a body. The body will be written in the subclass. Abstract classes in Java by Sandra Meyer https://code.sololearn.com/cpBBBib607tW
13th Aug 2020, 5:03 PM
Ore - avatar
+ 1
An abstract class is a restricted class that cannot be used to create objects . To access it, it must be inherited from another class. Abstract class in Java.
13th Aug 2020, 5:08 PM
Emmanuel Peter
Emmanuel Peter - avatar