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 a class inherit the constructors of its superclass?

Answer Posted / shaziya parveen

No, a class can not inherit the constructor of its
superclass. This subclass can inherit the instance
variables and tha methods of the super class.
Using 'super' keyword a sub class can inherit the
constructors. This is only the solution.

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a lock or purpose of locks in java?

1092


What is unicode with example?

1314


Which collection allows duplicate values in java?

1030


Can a constructor be protected?

1133


What is the function of character?

1113


Is java good for beginners?

1058


What is the difference between stringbuffer and stringbuilder?

1114


What is difference between hashset and hashmap?

1181


What is the concept of multithreading?

1038


What is meant by main method?

1120


What is the use of set in java?

1186


What is the use of java?

1014


What is the difference between choice and list?

1139


Can we execute a program without main() method?

1090


What is unicode full form?

1039