Thread
:
accessing instance variables from static methods
View Single Post
#
2
(
permalink
)
11-07-2007, 05:11 PM
ShoeNinja
Senior Member
Join Date: Oct 2007
Posts: 123
The instance variables have to be declared as static. So your carName String would have to be:
Code:
public static String carName;
ShoeNinja
View Public Profile
Send a private message to ShoeNinja
Find all posts by ShoeNinja