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 do you create a first line indent?
How to create com object in Java?
What are the types of java?
What's the default access specifier for variables and methods of a class?
How do you get length in java?
What is arrays aslist in java?
How do you escape json?
What is run time allocation?
Tell me the latest versions in java related areas?
Are static members inherited to sub classes?
Why is sizeof not a function?
Define array. Tell me about 2-D array.
Does java allow overriding static methods ?
What is the difference between post and put?
Implement a stack with push (), pop() and min() in O(1) time.