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

What is ordered map in java?

774


Explain polymorphism citing an example.

815


Can we increase size of array?

774


Are arrays dynamic in java?

784


Is 0 true or false?

725


What is the maximum length of a url?

737


What is a heavyweight component?

762


EDS (Electronic Data Systems India Pvt Ltd) at Chennai on 16-12-2006.

8904


Is java se open source?

780


How do you take thread dump in java?

772


How many types of design patterns are there?

802


What is final keyword?

875


Explain the difference between comparator and comparable in java?

696


Can we create object of inner class in java?

700


What type of value does sizeof return?

780