Nick
2012-07-31 09:17:53 UTC
public class Reel2{
public static final int NUMBER_OF_SYMBOLS = 5;
private int currentIndex;
private int direction;
private Symbol[] symbols = new Symbol[NUMBER_OF_SYMBOLS]; // I have a created Symbol object class in the same directory.
}
The error I get is:
.\Symbol.java:9: illegal start of type
*//
.\Symbol.java:9: ';' expected
*//^
What does this even mean, and where are those characters coming from?
This only occurs when I try to create the Symbol array, it compiles fine without it.