| Author |
can i use "this" name for any method as an identifier in java.
|
Omkar G. Deshmukh
Greenhorn
Joined: Sep 21, 2012
Posts: 28
|
|
|
can i use "this" name for any method as an identifier in java.
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56554
|
|
|
Only in non-static methods to refer to the object instance. There is no object instance in the case of static methods, so no this.
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
 |
|
|
subject: can i use "this" name for any method as an identifier in java.
|
|
|