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

How is .net core cross platform?

1043


Explain how viewstate is being formed and how it's stored on client in .net?

915


Which dll is required to translate xml to sql in internet information server (iis)?

950


What are the important components of .net?

952


How can you assign an rgb color to a system.drawing.color object?

929


What does stateless mean?

1001


Explain what is the difference between constants and read-only variables?

891


Show different types of collection in .NET?

971


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

1960


What is .net standard?

1089


Please tell us what is the difference between override and overload in a method?

1019


Do you know what is the difference between an abstract class and an interface?

957


What is 'Common Type System' (CTS) in .NET?

1063


What is a .DLL and .EXE files called in .NET?

1030


What class does icon derive from? Isn't it just a bitmap with a wrapper name around it?

1015