public class AClasse {
String a;
public AClasse(String a){
this.a = a;
}
public static void main(String[] args){
AClasse[] clases = new AClasse[10];
clases[0].a = "?"; // the exception is in this line
}
}
whats the reason and whats the right equivalent statement.