Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

This keyword in java

736 views

Published on

This keyword is a reference variable that refer the current object in java.
This keyword can be used for call current class constructor.

http://www.tutorial4us.com/java/java-this-keyword

Published in: Education
  • Be the first to comment

This keyword in java

  1. 1. This keyword in java This keyword is a reference variable that refers the current object in java. This keyword can be used for call current class constructor.
  2. 2. Why use this keyword ? • The main uses of this keyword is to differentiate the formal parameter and data members of class, • http://www.tutorial4us.com/java/java-this- keyword

×