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

we cannot inherit constructors.
because if we declare a constructor it must be a same name
as its class name, but two class must have same name

Is This Answer Correct ?    16 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why are the methods of the math class static?

1032


Can we create constructor in abstract class ?

993


What does localhost mean?

893


What is java object name?

944


What is the use of singleton?

913


Why string is not thread safe?

965


Why should I use abstract class?

1022


What is difference between next () and nextline () in java?

942


What is the relationship between class and object?

989


What is an object's lock and which object's have locks in java programming?

1004


What will be the initial value of an object reference which is defined as an instance variable?

1088


Name few java 8 annotations ?

978


Differences between external iteration and internal iteration?

1099


What are predicates in java 8?

974


Why we use methods in java?

941