Can a class inherit the constructors of its superclass?

Answer Posted / kamala

In the overriding concepts subclass can inherit or get the
parentclass constructor using the super keyword

Is This Answer Correct ?    2 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are access specifiers in java ?

590


Can you pass by reference in java?

528


What is string english?

545


What is collection api?

610


How do you check if a string is lexicographically in java?

503






I want to re-reach and use an object once it has been garbage collected. How it's possible?

541


Explain the use of volatile field modifier?

633


What is a method vs function?

558


What are the different ways to handle exceptions?

542


Why deletion in linkedlist is fast than arraylist?

535


What is a memory leak in java?

547


Explain method local inner classes ?

593


What do you mean by default constructor in java?

580


Which access specifier can be used with class ?

532


Can we have this () and super () together?

609