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
What is the basic of java?
Do you know why doesn't the java library use a randomized version of quicksort?
Is boolean a data type in java?
Explain access modifiers in java.
Can we increase array size dynamically in java?
What are java packages? What's the significance of packages?
What is unicode datatype?
Is it possible for a yielded thread to get chance for its execution again?
how to deploy tomcatserver to weblogic server? write d following steps?
Can constructor be synchronized?
Is null a keyword in java?
What is your platform?s default character encoding and how to know this?
What is a blocking method in Java?
What are the 2 types of java programs?
Why main method is called first in java?