Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / arvind patil

we cannot inherit the constructor.
But using the keyword super we can give a call
to the base class constructor

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What if the main() method is declared as private? What happens when the static modifier is removed from the signature of the main() method?

1152


What are the two ways in which thread can be created?

1010


Can we override private methods?

981


Differentiate between postfix and prefix operators in java.

1085


What does the “static” keyword mean? Can you override private or static method in java?

1047


Is object a data type in java?

1057


What are the kinds of polymorphism?

1048


Why string is not a wrapper class?

1143


can java object be locked down for exclusive use by a given thread? : Java thread

1037


Is java util list serializable?

897


What is a super method?

932


What is the difference between super class & sub class?

1096


What is anagram in java?

876


What are 5 boolean operators?

1111


What are the 4 types of research methods?

881