Docsity

Java notes by university, Study notes of Java Programming

Toggle sidebar
bg1
1. Using this to Refer to Current Class Instance Variables
2. Using this to Call Current Class Methods
3. Using this() to Call the Current Class Constructor
4. Using this to Pass the Current Object as a Method Argument
5. Using this to Pass the Current Object in a Constructor Call
6. Using this to Return the Current Class Instance
Usage of this keyword

Partial preview of the text

Download Java notes by university and more Study notes Java Programming in PDF only on Docsity!

 (^) 1. Using this to Refer to Current Class Instance Variables  (^) 2. Using this to Call Current Class Methods  (^) 3. Using this() to Call the Current Class Constructor  (^) 4. Using this to Pass the Current Object as a Method Argument

5. Using this to Pass the Current Object in a Constructor Call  (^) 6. Using this to Return the Current Class Instance

Usage of this keyword