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 is a manifest in .net?

0 Answers  


Difference between assembly manifest & metadata assembly manifest

4 Answers   Ksb,


What are object pooling and connection pooling and difference?

3 Answers   TCS,


Explain me what is an anonymous method and how is it different from a lambda expression?

0 Answers  


What are Satellite Assemblies? How you will create this? How will you get the different language strings?

3 Answers  


What is an exe and a dll?

0 Answers  


Describe difference between inline and code-behind?

0 Answers  


what is the default security setting in .net?

0 Answers  


Explain what is heap and what is stack?

0 Answers  


What is the concept of inheritance and how it works in .net?

0 Answers  


Tell us what is a variable of implicit type and what is its scope?

0 Answers  


Is there a way to suppress the finalize process inside the garbage collector forcibly in .net?

0 Answers  


Categories