Can you have a constructor in abstract class?
Answer Posted / vivek
Yes you can have only non parameterized constructor in
abstract class, Because for parameterized constructor we
will have to make instance of abstract class which is not
possible.
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Can substring create new object?
How to make object serializable in java?
What is thread life cycle?
What is internal iteration in java se 8?
Is empty list java?
How to add menushortcut to menu item?
What is an example of declaration?
What restrictions are placed on method overriding?
What is jpa specification?
What is the main use of generics in java?
What is difference between array and arraylist in java?
How do you do absolute value in java?
What do you mean by default constructor in java?
What is string subsequence method?
What are the object and class classes used for?