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 a method header?
How many threads can java run?
What is called module?
What is the difference between the jdk 1.02 event model and the event-delegation model introduced with jdk 1.1?
what is heap memory?
What is a Null object?
What are the methods available in a class?
What is the static keyword?
Is namespace same as package in java?
What are the advantages and disadvantages of object cloning?
What is incompatible types in java?
What is a char in java?
Why is singleton instance static?
What is the declaration statement?
What is the current version of java?