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 / ritesh kesharwani

this refer to constructor under whose context the behavior
is called.
and super always used to invoke the argument and no argument
constructor of the super type and if super is used under the
constructors it should be the first argument.

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does a void function return?

1012


Is empty .java file name a valid source file name?

1126


What is tcp and udp?

1018


What are the Static and Dynamic Variables? Differentiate them.

1112


What are sets in java?

952


What do you mean by ordered and sorted in collections in java?

997


What all methods are used to prevent thread execution ?

1035


What is java abstraction with example?

1070


What is the use of System class?

1164


What is yield () in java?

889


What is java lang string?

1001


What are the advantages and disadvantages of reference counting in garbage collection?

1030


How to split a string in java?

1138


What is int short for?

1051


What is the java reflection api? Why it’s so important to have?

980