Olá Pessoal…
Seguinte : Catei essa informação na Web e nesse forum, mas não encontrei nada.
Gostaria de inicializar o seguinte vetor estaticamente :
static String ErrorTable[][] = new String { [ "E01" , "E02","E03"] , [ "descricao erro 1","descricao erro 2","descricao erro 3" ] } ;
Mas está retornando erro :
Multiple markers at this line
- Syntax error, insert “)” to complete VariableInitializer
- Syntax error on token “[”, ( expected
- Watchpoint:Principal [access and modification] -
ErrorTable
- Syntax error on token “{”, delete this token
- Syntax error on tokens, delete these tokens
Alguem pode ajudar a resolver ?
Obg.
+++