+ 2

Please someone explain me about 'this' keyword in JAVA

23rd Nov 2017, 1:02 PM
Vivek
Vivek - avatar
4 Answers
23rd Nov 2017, 1:15 PM
Md. Nafis Ul Haque Shifat
Md. Nafis Ul Haque Shifat - avatar
+ 2
Thanks man That was a great help.
23rd Nov 2017, 1:23 PM
Vivek
Vivek - avatar
+ 2
This keyword is used to refer the current in object ..when we use the (.) operator on this keyword then we can access the member variables of current object. This keyword can also be used to call one constructor from another constructor of the same class.
11th Dec 2017, 10:15 AM
Prabhat Thakur
Prabhat Thakur - avatar
11th Dec 2017, 10:15 AM
Prabhat Thakur
Prabhat Thakur - avatar