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 is methods and methodology?

1073


What is parsing a string?

1237


Explain notifyall() method of object class ?

1140


What does java edition mean?

1262


What is the size of boolean variable?

1134


describe method overloading

1081


What is xslt in java?

1022


Why main method is called first in java?

1058


what state does a thread enter when it terminates its processing? : Java thread

1123


Can we declare the static variables and methods in an abstract class?

1031


How do you add an element to a set in java?

1080


Which package has light weight components in java programming?

1191


Explain aggregation in java?

1017


Why string is called as immutable?

1008


Is 0 an even number?

1028