Why this keyword is not applicable in static context
this key word is useful to access current instance of class. static values and methods are common to all instance of classes. so, static never depend on any class. it is common to all instances of classes.
No comments:
Post a Comment