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

Answer Posted / r.jainrocks@gmail.com

we can't inherit constructors because constructors are not the members of a class.

as in case of blocks.

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How we create object in copy constructor?

904


What is the equal sign?

839


What are locale settings?

781


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

1106


Why do we need singleton?

772


What is the purpose of extern variable?

789


Where are local variables stored?

764


Is oracle charging for java?

821


What is the difference between super class & sub class?

845


What is final, finally, finalize?

821


What is set string?

822


What is the abstract class?

801


What's the base class of all exception classes?

824


What is length in java?

793


Is java a utf 8 string?

772