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

Difference between this(), super()?

Answer Posted / venki

this can be pointing to current object.
super can be used for accesing super class metods &varibles.
'this &super' are use full for constructers also .
thes two statements defining first satatement of
constructer.'this' is used for accesing current class
constuter.where as super is accessing super class
constructer.

Is This Answer Correct ?    56 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between iterator and enumeration ?

958


What is the do while loop syntax?

982


What is the difference between normal report & matrix report?

1054


Will set allow duplicates in java?

926


Is null or empty java?

930


What is the difference between call by reference and call by pointer?

916


If you are given the name of the function at run time how will you invoke the function?

1080


What is unsigned char?

1013


What is square root in java?

1038


What are the main differences between notify and notifyAll in Java?

1042


What are green threads in java?

948


How to create an immutable class?

1040


What is the use of accept () method in java?

1045


What is a programming object?

1020


What is class??

1174