Can a class inherit the constructors of its superclass?

Answer Posted / patil abhijeet

No, We cant inherit the constructor. Using super we can call
the constructor but we cannot modify the working of it.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can constructor chaining be done by using the super keyword?

622


How do you compare arrays in java?

505


Is java map thread safe?

495


What differences exist between iterator and listiterator?

575


What are the 3 types of loops in java?

535






Is empty in java?

582


What is difference between filereader and bufferedreader?

537


What is ellipsis in java?

583


Write a java program for binary search?

611


What do you mean by an interface in java?

574


What are the actions that can occur when a thread enters blocked state?

585


describe synchronization in respect to multithreading? : Java thread

507


Mention some interfaces implemented by linked list in java.

545


Why is serialization required?

548


Does java trim remove newline?

542