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

Answer Posted / sanketh

we cannot inherit constructors.
because if we declare a constructor it must be a same name
as its class name, but two class must have same name

Is This Answer Correct ?    16 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does percent mean in java?

586


What is pangram in java?

509


Is java se open source?

564


What is member in java?

490


what do you mean by stream pipelining in java 8? Explain

531






What is immutable in java?

537


What are the different conditional statements?

556


Give the difference between the println method and sqrt method?

621


What are filterstreams?

607


What is a vararg?

546


How do you find the maximum number from an array without comparing and sorting?

634


What are static variables and functions?

618


What are the different types of multitasking?

651


What is skeleton and stub? What is the purpose of those?

538


How to obtain a performance profile of java program

542