| Author |
When to make a method static
|
Marjorie Gyles
Ranch Hand
Joined: Nov 03, 2012
Posts: 37
|
|
|
When should a method be static? What do you look for?
|
 |
Jesper de Jong
Java Cowboy
Bartender
Joined: Aug 16, 2005
Posts: 12928
|
|
|
Do you know what the keyword 'static' means exactly? See this page from Oracle's Java Tutorials: Understanding Instance and Class Members
|
Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32694
|
|
|
Look for “Campbell Ritchie classification of methods” in the search link above.
|
 |
Marjorie Gyles
Ranch Hand
Joined: Nov 03, 2012
Posts: 37
|
|
Thanks guys. That helps a lot. I printed it out to keep beside me so I don't forget it. (Old timer's disease, ya know. )
|
 |
 |
|
|
subject: When to make a method static
|
|
|