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
How to reverse string in java?
What does string [] args mean?
How many days will it take to learn java?
Explain super keyword in java.
What are some examples of variable costs?
Define canvas?
What is a java applet? What is an interface?
Difference between static and dynamic class loading.
Is 0 true or false in java?
If I only change the return type, does the method become overloaded?
Can a final method be overloaded?
I want my class to be developed in such a way that no other class (even derived class) can create its objects. How can I do so?
What is a default constructor and also define copy contrucyor?
Can constructor be static or final?
how to write a program for sending mails between client and server