Explain the use of ‘this’ keyword in Java?
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 |
What is boxing and un-boxing in .net?
What is misl?
What's a windows process in .net?
What is the difference between boxing and unboxing?
Can you edit data in repeater control? How?
What is a strong name in .net?
What does jit compilation do in .net?
is c#.net supports multiple inheritance?
I'm having some trouble with cas. How can I troubleshoot the problem?
What are the properties of ADO.NET?
What are server controls?
why do you want to join deloitte, where do you exactly fit in.