Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

this keyword

 this keyword : 
               this represent owner that is object i.e Person which has properties like name, age etc.
this keyword in class/struct also represents owner that is object. if we made two objects of a class, then this keyword represents original object owner.
Source by learn.masaischool.com #
 
PREVIOUS NEXT
Tagged: #keyword
ADD COMMENT
Topic
Name
9+8 =