A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Arduino in Action
this week in the
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
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
Books by Bear
I agree. Here's the link:
- it saves me about five hours per week
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-2013