Can a class inherit the constructors of its superclass?
Answer Posted / ranganathkini
No a subclass cannot inherit the constructors of its
superclass. Constructors are special function members of a
class in that they are not inherited by the subclass.
| Is This Answer Correct ? | 17 Yes | 3 No |
Post New Answer View All Answers
What is bigger kb or mb?
Explain about sets?
What do the thread?class methods run() and start() do?
Can we define private and protected modifiers for variables in interfaces?
What is keyword in oop?
What is final, finally, finalize?
Can java program run without jre?
What is the final class modifier?
Does variable declaration allocate memory?
Is java 1.7 the same as java 7?
Is math an abstract class in java?
What is a predicate method?
What is class variable java?
Can we serialize arraylist in java?
How many techniques can be employed to create a string object?