CodesJava

Easy learning with example program codes

can abstract class be final in java?


No, abstract class can’t be final in Java because abstract classes are used only by extending and if they made final they can’t extended.

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?


  • Copyright © 2018 CodesJava DMCA.com Protection Status SiteMap