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 does string mean in java?
What classes of exceptions may be thrown by a throw statement?
What are methods of a class?
Difference between arraylist and vector.
What is the static variable?
How do you implement tree mirroring in java?
What java is used for?
What is the purpose of a default constructor?
What interface is extended by awt event listeners?
Explain what are final variable in java?
What is anonymous inner class?
What is ctrl m character?
Explain the reason behind ending a program with a system.exit(0)?
What is javac_g?
What will happen to the exception object after exception handling?