CodesJava

Easy learning with example program codes

can abstract class have constructors in java?


Yes, abstract class have constructors in java. But it is not used to instantiate abstract class. It is used in constructor chaining or to initialize abstract class common variables.

Java interview questions on abstract class

  • What is abstract class in java?
  • Why abstract class is used in java?
  • Can abstract class have constructors in java?
  • Can abstract class be final in java?
  • Can we declare local inner class as abstract?
  • What is difference between abstract class and interface in java?
  • Sign Up/ Sign In
    Ask a Question


    Copyright © 2018 CodesJava DMCA.com Protection Status SiteMap Reference: Java Wiki