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

Explain the importance of import keyword in java?

999


What is string :: npos?

1066


What is the difference between checked exception and unchecked exception?

1009


Explain how to force the garbage collection in java.

958


What is class??

1221


explain the difference between jdk and jvm?

983


Why java strings are immutable in nature?

1050


Is a string literal?

1082


How to use arraylist in java netbeans?

1028


What about anonymous inner classes in java?

1021


hr interview how many minutes asking question

2038


How many java versions are there?

1041


how we can create packages in java?

950


What is the impact of declaring a method as final?

1013


Explain the meaning of java applet.

1061