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 will happen when using pass by reference in java?

526


What does localhost mean?

502


Define how destructors are defined in java?

589


How do you compare characters in java?

525


What are register variables what are the advantages?

450






Can constructor be protected in java?

511


What is java reflection api?

560


What is the purpose of the file class in java programming?

532


Who is founder of java?

532


What restrictions are placed on method overloading in java programming?

573


How do you delete a list in java?

534


What do you understand by the bean persistent property?

558


Why is inheritance used in java?

608


What is java virtual machine and how it is considered in context of java’s platform independent feature?

655


Why we use multi threading instead of multiprocessing?

576