Can a class inherit the constructors of its superclass?
Answer Posted / shaziya parveen
No, a class can not inherit the constructor of its
superclass. This subclass can inherit the instance
variables and tha methods of the super class.
Using 'super' keyword a sub class can inherit the
constructors. This is only the solution.
Is This Answer Correct ? | 0 Yes | 4 No |
Post New Answer View All Answers
What are thread priorities and importance of thread priorities in java?
define the terminology association.
What is a numeric literal?
How do you sort a set in java?
What is java util function?
Is arraylist an object in java?
What is bom encoding?
What do you understand by java?
What is a dot notation?
What is arguments in java?
What is preparedstatement in java?
How do you define a variable?
What is difference between path and classpath variables?
When parseint method can be used?
Why string is a class?