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 passing by reference in java?
What is the main difference between java platform and other platforms?
Explain about object oriented programming and its features?
Can a class have 2 constructors?
How to perform linear search in java?
What is meant by local variable and instance variable?
When is the arraystoreexception thrown?
String and stringbuffer both represent string objects. Can we compare string and stringbuffer in java?
whatis Home interface and Remoteinterface? with example?
how do I create a runnable with inheritance? : Java thread
Print Vertical traversal of a Binary Tree.
What is javac_g?
What is a condition in programming?
Can memory leak happen java?
What is meant by object?