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

State the methods used during deserialization and serialization process.

2 Answers  


Write the .net syntax for 'while loop'?

0 Answers  


How to create a key pair in .net?

0 Answers  


What are the namespace available in .net?

0 Answers  


What is Full trust permission set in .Net

0 Answers  


What makes .net core cross platform?

0 Answers  


How to create properties and methods using controls?

0 Answers   CGI,


How can you instantiate a tuple?

0 Answers  


What are situations when you register .NET assembly in GAC ?

0 Answers   UGC Corporation,


How can I get at the win32 api from a .net program?

0 Answers  


What is .net core used for?

0 Answers  


Directcast(123.34,integer) - should it throw an error? Why or why not?

1 Answers   Wipro,


Categories