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

Please explain when should you use .net web forms over asp.net mvc?

1007


Is there any thread in our .net programs?

1077


Write a program to create a user control with name and surname as data members and login as method and also the code to call it.

938


How does the generational garbage collector in the .net clr manage object lifetime? What is non-deterministic finalization?

1004


Please explain what are an object and a class?

966


Please explain what are an inheritance, polymorphism, and encapsulation?

1102


The project which you have made, which methodology did you use?

1054


What do the terms “boxing” and “unboxing” mean?

960


What are an object and a class?

1112


How is .net core cross platform?

1104


What is singlecall activation mode used for in .net?

1107


Explain how do assemblies find each other?

1082


Explain what rare the types of jit and what is econo-jit?

1053


How many types of design patterns available in .NET?

1038


What is a windows process in .net?

1069