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

Can java inner class be static?

551


What is main function purpose?

513


How do you ensure that n threads can access n resources without deadlock?

800


Write a program to show whether a graph is a tree or not using adjacency matrix.

584


Why does java does not support multiple inheritance? Explain

539






Does string isempty check for null?

556


What are the 6 mandatory procedures for iso 9001?

520


How would you convert bytes to string?

554


What is the right data type to represent a price in java?

560


Is math class static in java?

599


What is difference between path and classpath?

550


Which one of the following suits the description of a string better: derived or primitive?

499


What about member inner classes?

617


What is jpa specification?

531


How can we create an immutable class in java?

576