Can we inherit the constructor in a Class?please give one
example.

Answer Posted / sri

we cannot inherit constructors.

Is This Answer Correct ?    35 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how can you catch multiple exceptions in java?

541


Difference difference paint() and paintcomponent()?

530


What do you understand by private, protected and public?

519


What is the difference between a method and a procedure?

541


What are different types of states exist for a thread?

543






Why string objects are immutable in java?

563


What is class forname used for?

538


What is a numeric digit?

582


Can a class have an interface?

552


What is the default size of set in java?

498


What is the static field modifier?

592


What is garbage collection? What is the process that is responsible for doing that in java?

647


How do you reverse a string in java?

577


What are constants and how to create constants in java?

554


What is the difference between the boolean & operator and the && operator in java programming?

562