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

Why wait(),notify(),notifyAll() methods defined in Object class althought we are using in only threads.

2810


how to open and edit XML file in Weblogic???

1960


how to create multithreaded program? Explain different ways of using thread? : Java thread

964


Write a function to print Fibonacci series and Tribonacci series?

1166


Explain about complier design(phases)

1072


How do we access static members in java?

1093


What is variable and rules of variable?

1004


What are the four versions of java?

1002


Will minecraft java be discontinued?

1153


What is the difference between applet and application?

993


How do you create a bulleted list?

1248


Can you extend singleton class?

1083


What is null in java?

949


Explain about varargs in java?

1107


What are structs in java?

1041