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?

Answer Posted / sreekar reddy vanguru

Mainly this() is used to avoid hidding the field varaibles
by the varaibles of the methods which are having same name..

super() is used to invoke the super class from sub class...

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which collection is sorted in java?

1083


Explain public static void main(string args[]) in java.

1049


What is overloading and overriding in java?

1287


How to make a write-only class in java?

1103


What is the purpose of static keyword in java?

1009


What package is math in java?

1053


What is the maximum size of list in java?

1018


Objects or references which of them gets garbage collected?

1013


What is a java developer salary?

1027


What is parameter example?

1075


I have multiple constructors defined in a class. Is it possible to call a constructor from another constructor’s body?

1067


What is the range of the short type?

1063


What is a treemap in java?

1064


When is finally block not called?

1148


Why java is made?

1019