Can abstract class have Constructor in Java - Interview Question | Java67

Can abstract class have Constructor in Java - Interview Question | Java67

瀏覽:308
日期:2025-06-12
Yes, abstract class can have constructor in Java. You can either explicitly provide constructor to abstract class or if you don't, compiler will add default constructor of no argument in abstract class. This is true for all classes and its also applies on...看更多