vendredi 29 juillet 2016

what is the use of having constructor in abstract class in java when we can't create objects with it [duplicate]

This question already has an answer here:

In java it is observed that we can't create objects with a class declared as abstract but we can declare a constructor in that class. Then what is the use of having a constructor in abstract class?

Aucun commentaire:

Enregistrer un commentaire