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 / harivirat reddy

Constructors are not inherited because extending class must
contain diffent name but constructors class name and
constructor name must be similer.but we can inherit the
constructors by using 'super' keyword.

Is This Answer Correct ?    3 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ide with example?

979


How to sort a collection of custom Objects in Java?

1060


I am a fresher and know core java, c languge, html, css etc if I am illegible for any job then send it on my email tatranakshay276@gmail.com

1701


Explain implementation and how is it different from conversion?

1087


What is a default constructor and also define copy contrucyor?

1111


Can size_t be negative?

1181


How do you do exponents in java?

1063


How do you declare an empty string?

1066


Can an arraylist be empty?

1057


Where are register variables stored?

1018


What is the difference between static method and instance method in Java?

1217


What is the use of 'super' keyword inside a constructor?

976


How do you use equal in java?

1101


How do you convert an int to a double in java?

1062


What is exception propagation?

1135