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
What is a ternary operator in java?
What is time complexity java?
how are methods defined?
Why is java architectural neutral?
What is a parent class in java?
Explain garbage collection in java?
What is a Transient Object?
What is byte [] in java?
What do you mean by an interface in java?
Difference between stack and queue?
How do you use substring in java?
What is the argument in java?
How many types of string data types are there?
What is the difference between array and array list in java?
What is the use of System class?