Number Of Page View:100,000+/Months
LOGIN |New User


What is the use of �this� ?
this keyword is used to point to the currently executing object.
The most common reason for using the this keyword is because a field 
is shadowed by a method or constructor parameter. 


public class PointExample {
    public int x = 0;
    public int y = 0;
    public Point(int x, int y) {
	this.x = x;
	this.y = y;
Posted By: Name:Rajesh Kr URL: What is the use of �this� ?