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

Why map is used in java?

1083


Can we increase array size dynamically in java?

1008


Why is multiple inheritance not supported in java?

1089


What are methods in java?

1033


What is null mean in java?

1147


Is java util list serializable?

975


what is optional in java 8?

1115


Is zero a positive integer?

1141


Can we force the garbage collection to run?

1000


Explain the use of volatile field modifier?

1135


What is a dynamic array in java?

1243


How can we make sure main() is the last thread to finish in java program?

1253


what is mutual exclusion? : Java thread

1065


what is the significance of listiterator in java?

1118


What is string array?

1122