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 / ravikiran(aptech mumbai)

this keyword is used to refer the current instance of the
particular class where as super keyword is used to refer the
superclass members.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is object class in java?

901


How can we pass argument to a function by reference instead of pass by value?

1092


Write a java program that prints all the values given at command-line.

1003


How to create packages in java?

922


Can a class be defined inside an interface?

1015


Do loops java?

1003


What is the intersection and union methods?

1008


What value is a variable of the string type automatically initialized?

1100


Can we use a default constructor of a class even if an explicit constructor is defined?

1088


Why do we need singleton?

952


Can a main method be overloaded?

1005


What is the difference between the paint() and repaint() methods?

1048


What is boolean used for?

1010


What is callablestatement? How you can call stored procedure to pass in parameter?

1017


What is the hashcode () and equals () used for?

1015