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 garbage collection and how it works ?

1099


What does cil do?

1062


Describe the difference between inline and code behind which is best in a loosely coupled solution?

2873


What is dot net architecture?

1143


What is a design pattern and what is it for?

1120


Explain when should you use .net web forms over asp.net mvc?

1052


Please explain what is heap and what is stack?

1051


What is the native image generator?

1200


Explain the difference between managed and unmanaged code?

971


If I am writing in a language like vb or c++, what are the procedures to be followed to support .net?

1063


What is the difference between override and overload in a method?

1285


Explain what is the reason of occurring overflow-underflow arithmetic exception error, it shows error message when we run our program by adding control?

1228


Can a dll be changed to an exe?

1222


What is Complex Class in .NET?

1077


Is there any thread in our .net programs?

1141