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 / sunil kishore balla

super() is used to invoke a super class constructor and
this() is used to invoke a constructor of the same class

Is This Answer Correct ?    11 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we change the scope of the overridden method in the subclass?

1312


What is singleton class in java and how can we make a class singleton?

1066


What is a void in java?

1063


Explain about static nested classes in java?

1022


State differences between C and Java?

1142


Why should I use abstract class?

1006


How do you create a null object?

1019


What is the difference between arraylist and hashset in java?

1049


What is a short in java?

958


What is a super method?

923


What is listnode in java?

933


What is navigable map in java?

936


Name some classes present in java.util.regex package.

978


How is it possible for two string objects with identical values not to be equal under the == operator?

921


What is lambda in java?

974