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
Difference between operator overloading and function overloading
Can we use a switch statement with strings?
When is the finally clause of a try-catch-finally statement executed?
What is the purpose of extern variable?
What are the different access modifiers available in java?
What is a finally block? Is there a case when finally will not execute?
What is the main functionality of the remote reference layer?
Which is better stringbuffer or stringbuilder?
Why does my function print none?
Which of the classes will have more memory allocated?
What happens when I use / and % with a negative numerator?
Which is better stringbuilder or stringbuffer?
Which java ide is used the most?
What does || mean in vectors?
How do you calculate roots in java?