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...

How are this() and super() used with constructors?

Answer Posted / ranganathkini

this() - is used to invoke one constructor from another
constructor.

super() - is used to invoke the super class's constructor
from the subclass's constructor

Is This Answer Correct ?    21 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the differences between Java 1.0 and Java 2.0?

2204


Difference between doublesummarystatistics, intsummarystatistics and longsummarystatistics ?

943


What is math floor in java?

886


What are the advantages of defining packages in java?

926


Difference between class#getinstance() and new operator ?

1140


Why deletion in linkedlist is fast than arraylist?

1026


what is the difference between a threads start() and run() methods? : Java thread

964


How do you sort a set in java?

859


What is the difference between a local variable and an instance variable?

1021


What do you understand by classes in java?

948


Why java is a platform independent? Explain

1007


What is linkedlist in java?

935


Is list thread safe in java?

876


What is a void method java?

910


What is type safety in java?

901