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?



Explain the use of ‘this’ keyword in Java?..

Answer / 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

More Dot Net General Interview Questions

What are asp.net authentication providers and iis security?

0 Answers  


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

0 Answers  


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

0 Answers  


What is "common language specification" (cls) in .net?

0 Answers  


which method do you use to redirect the user to another page without performing a round trip to the client? How?

0 Answers  


Explain how to manage pagination in a page using .net?

0 Answers  


Difference between assembly manifest & metadata

2 Answers  


Please explain what are an object and a class?

0 Answers  


What is assembly in .net?

0 Answers  


Describe the role of global.asax.

2 Answers  


What is STA in .NET?

0 Answers  


What is an anonymous method?

0 Answers  


Categories