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 / shanthappa

"this" is the implicit keyword/object oriented by the jvm and supplied to every java programs for two purposes.
1) It points to current class object
2) It whenever formal parameters of the class are similar then jvm gets an ambiguity.
"super" is a keyword which will differentiate base class features with derived class features.
The keyword 'super' is placing an important role in three places in java...
1)at variable level
2)at constructor level
3)at method level

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between static binding and dynamic binding?

1127


What are the Main functions of Java?

1092


what methods would you overwrite in java.lang.object class?

1002


What is the different types of functions?

1057


Explain the significance of listiterator.

1103


What is the difference between abstract classes and interfaces?

1023


Is array primitive data type in java?

997


Can we override a variable in java?

1013


What are variable names?

977


Which collection does not allow duplicates in java?

978


Mention some interfaces implemented by linked list in java.

1022


Does java list allow null?

988


What is purpose of keyword void?

1048


How do you use parseint in java?

980


What is tcp and udp?

1015