Can you have a constructor in abstract class?

Answer Posted / srinu

Yes constructor their abstract class.if u any doubt araise
just see HttpServlet Api. HttpServlet contain constructor

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between a static and a non-static inner class in java programming?

625


Explain reverse a linked list iterative solution in java?

587


What is the program compilation process?

675


How does arraylist work in java?

630


What does the string method compareto () do?

630






What is io stream in java?

613


Explain the importance of finalize() method.

658


What are synchronized methods and synchronized statements in java programming?

662


What are java packages? What is the significance of packages?

653


What is time complexity java?

627


What is the use of a conditional inclusion statement in Java ?

681


What is the symbol for line break?

708


Can we declare a class as abstract without having any abstract method?

643


How to compare strings in java?

585


What do you mean by garbage collection used in java?

662