This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
You could however create an instance of the StaticTest class and then access the fields/call the methods using that [ December 02, 2008: Message edited by: Joanne Neal ]
Joined: May 12, 2008
Jack, perhaps your confusion is that you are creating non-static variables inside the static method and calling non static methods/variables on those instances, like Joanne said. The main method does indeed act like every other static method though.