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

Class for getting the info that is on clipboard of our system in a windows App?

1 Answers  


What is different between Web User Control and Web Custom Control?

1 Answers  


Where does the dispose method lie and how can it be used to clean up resources?

1 Answers   Wipro,


What are the advantages of .net?

0 Answers  


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

0 Answers   NA,


Explain boxing and unboxing in .net.

0 Answers  


How do you pass value of a text box from page1.aspx to page2.aspx without storing it as a session value?

6 Answers   C Squared Systems,


What is .net and why it is used?

0 Answers  


How different are interface and abstract class in .Net?

2 Answers  


How can I tell if .net 3.5 is installed?

0 Answers  


Explain what is an interface and what is an abstract class? Please, expand by examples of using both. Explain why?

0 Answers  


questions on various scenarios on exception handling? like for example.... try { a; b; ...exception occurs here...what happens...will catch execute or will finally execute...will c execute c; } catch { a; b; c; } fianlly { a; b; }

1 Answers   Manhattan,


Categories