Answers for "can we create objects of abstract classes"

1

how to create object of abstract class in java

We cannot create objects of an abstract class. To implement features of an abstract class, we inherit subclasses from it and create objects of the subclass. A subclass must override all abstract methods of an abstract class. However, if the subclass is declared abstract, it's not mandatory to override abstract methods.
Posted by: Guest on December-30-2021

Code answers related to "can we create objects of abstract classes"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language