Can an abstract class contain a constructor?
Explanation
Although you cannot create instances of an abstract class, it is perfectly normal to declare constructors for it.

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Cosmo
Sign Up Now
or Subscribe for future quizzes