Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.
We cannot create objects of Abstract Class.
EXPLANATATION: Abstract class is a class which can contain both abstract and concrete methods.Hence suitable place for defining common functionalities across all the implementations.In Short,Abstract class is used to DEFINE SKELETAL STRUCTURE which the subclass must follow.
No we can't create object of abstract class as abstract class is that class in which we declare and not define the method.And for that we implement,not create the object.But this is not always true sometimes we can create object indirectly by using inner class.
no
No.
You can't instantiate an abstract class but subclasses instance of there abstract class is possible.
No
No, You can only upcast to it.