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 autoboxing and unboxing?
What method is used to specify a container's layout in java programming?
How to create a thread in java?
How do you insert a line break?
How many bits is a 64 bit byte?
Is java a security risk?
When is the garbage collection used in Java?
What is the meaning of nullable?
Convert a BST into a DLL and DLL to BST in place.
What are the limitations of procedural programming approach?
What is wrapper class html?
What is abstract class constructor called?
How do you use compareto?
What are "class access modifiers" in Java?
What does || mean in code?