- #1
stonecoldgen
- 109
- 0
I have:
having an error in the first line that says: Syntax error on token ";", , expected
but when I have:
I get no error in the definition of the constant but I obviously get a syntax error in the array definition
and when I have:
the constant definition is fine
so what the hell is happening? thanks
Code:
public final static int NUMERO_ESCENARIOS=4;
escenarios = new escenario[NUMERO_ESCENARIOS];
having an error in the first line that says: Syntax error on token ";", , expected
but when I have:
Code:
public final static int NUMERO_ESCENARIOS=4 //semi colon deleted
escenarios = new escenario[NUMERO_ESCENARIOS];
I get no error in the definition of the constant but I obviously get a syntax error in the array definition
and when I have:
Code:
public final static int NUMERO_ESCENARIOS=4;
//array definition errased
the constant definition is fine
so what the hell is happening? thanks