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 complexity and its types?

954


What is use of arraylist in java?

1097


What are three advantages of using functions?

952


Why do we need hashmap in java?

1027


explain the concept of virtual method invocation in polymorphism in detail?

2154


How is string immutable in java?

987


What is ascii format?

940


What is diamond operator in java?

893


How to display names of all components in a Container?

2888


What does singleton mean in java?

943


How do you remove spaces in java?

971


Is namespace same as package in java?

934


What is the difference between array and array list in java?

1136


Which is bigger float or double java?

924


Is java 9 released?

942