Inside the class body this refers to the current class object.
It can be used to access / modify members and call functions inside the class.
Output:
Explanation:
lines 9, 14 values are set to the members
width and height.lines 20, 25 and 26 members are accessed.line 29 a class function is called.line 34 an object is created.lines 36 and 37 in which width and height
are set, this points to the object created
at line 34.