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...

Explain the use of ‘this’ keyword in Java?

Answer Posted / hrindows@gmail.com

In Java, ‘this’ keyword represents a specific reference on the current object. There are multiple uses for this keyword for referring to the current class properties from a variable, constructors, methods, and more. You can also pass this as an argument within constructors or methods. You can also fetch this as a return value from the current class instance. You can also refer to this as a static context.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the transport protocol you use to call a seb service soap?

992


I'm having some trouble with cas. How can I troubleshoot the problem?

1010


What method do you use to explicitly kill a users session? How?

1020


How does cas works?

992


What is RPC? What is the use of it?

1155


How many types of generations are there in a garbage collector?

967


What is DTS and explain the purpose of it?

1077


What are the different.net tools which you used in projects?

985


what is prototype design pattern in .net

1014


Explain clr, cts and cls?

1096


What is the concept of inheritance in .net?

1159


As you know read-only variables and constants have many similarities, but what is at least one way that they differ?

987


What is multiThreading in .NET?

1048


Show different types of collection in .NET?

1011


How to convert a .NET object into COM operabililty?

1036