A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
can i use "this" name for any method as an identifier in java.
Omkar G. Deshmukh
Joined: Sep 21, 2012
Dec 24, 2012 12:07:03
can i use "this" name for any method as an identifier in
Author and ninkuma
Joined: Jan 10, 2002
Dec 24, 2012 12:14:09
Only in non-static methods to refer to the object instance. There is no object instance in the case of static methods, so no
Asking smart questions
Books by Bear
I agree. Here's the link:
subject: can i use "this" name for any method as an identifier in java.
Why we pass string object to main?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015