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 happens when you invoke a thread’s interrupt method while it is sleeping or waiting?

976


What is a nested class?

1117


What does bitwise or mean?

1070


Is arraylist ordered in java?

1113


What is a concrete classes? Is Java object class is concrete class?

975


What are the advantages of java over cpp?

1071


Similarity and difference between static block and static method ?

917


What is bubble sorting in java?

1040


What is the default size of arraylist in java?

1126


How to create a thread in java?

1134


What is meant by data hiding/encapsulation?

1104


What is the difference between the direct buffer and non-direct buffer in java?

1032


Explain features of interfaces in java?

982


What are actual parameters?

1031


Why set is used in java?

1013