What is an abstract class ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What is an abstract class ?

13th Aug 2020, 4:56 PM
Prabhat
Prabhat - avatar
2 Answers
+ 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
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