Saturday, January 26, 2008

Java Programming - Using the this keyword

Within an instance method or a constructor, this is a reference to the current object - the object whose method or constructor is being called. You can refer to any member of the current object from within an instance method or a constructor by using this.


Post a Comment

Subscribe to Post Comments [Atom]

<< Home