Can you have a constructor in abstract class?

Answer Posted / sumit

But you can create constructor in an abstract class.
and whenever you careate object of class implementing
abstarct class, constructor of te abstract class runs.

Is This Answer Correct ?    108 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the basic of java?

788


Do you know why doesn't the java library use a randomized version of quicksort?

752


Is boolean a data type in java?

735


Explain access modifiers in java.

787


Can we increase array size dynamically in java?

720


What are java packages? What's the significance of packages?

871


What is unicode datatype?

720


Is it possible for a yielded thread to get chance for its execution again?

731


how to deploy tomcatserver to weblogic server? write d following steps?

1682


Can constructor be synchronized?

747


Is null a keyword in java?

738


What is your platform?s default character encoding and how to know this?

2012


What is a blocking method in Java?

836


What are the 2 types of java programs?

800


Why main method is called first in java?

758