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 predefined function in java?
Explain methods specific to list interface?
What are different types of control structures?
What is the difference between overriding & overloading?
When should the method invokelater() be used?
What are advantages and disadvantages of OOPs?
what is meant wrapper classes?
What is the meaning of variable in research?
What is meant by anonymous class?
What is role of void keyword in declaring functions?
Can we clone singleton object in java?
Similarity and difference between static block and static method ?
Why is singleton class used?
What are the differences between checked exception and unchecked exception?
What is parsing a sentence?