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

Can the interface be final?

1007


What is meant by class?

1001


What is a return in java?

1028


Is java written in c?

960


what is the difference between process and thread? : Java thread

991


How many digits can a float hold?

1011


How many digits is int32?

978


What is n in java?

949


What is void class in java?

974


What is the use of singleton?

965


What are different types of multitasking?

957


Does java arraylist maintain insertion order?

991


What is ide with example?

967


Explain the meaning of java applet.

1069


Can we define private and protected modifiers for the members in interfaces?

1097