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 / praseen

We can not inherit the constructor in a class. Becoz we can't
have same class name. The constructor hava the same name as
of the class name.

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of abstract class?

1059


How do you insert a line break?

961


What is the disadvantage of synchronization?

1057


Explain super keyword in java.

1076


Where are the local variables stored?

1122


What is a boolean field?

1005


What is a local class in java?

1086


Can an anonymous class be declared as implementing an interface and extending a class in java programming?

1362


How do singleton patterns work?

1018


What is set string?

1291


If system.exit (0); is written at the end of the try block, will the finally block still execute?

1159


How do you define a set in java?

1057


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

1739


What is the purpose of sizeof operator?

1119


Explain about member inner classes?

1156