I am novice programming. I am using java. I have declared an array like this:
static String horario[];
later, in one method I want to use this array like this:
if(datos.get(z+3).contains("CET")) {
horario[]= (datos.get(z+3).split("CET"));
mipartido.setHorario(horario[0]);
}
but it says that horario
cannot be resolved to a type.
How can I use this variable?