-1
[![PHOTO OF THE CODE][1]][1]
I am not able to instantiate an object and read it with the method of the Scanner class. It is possible to do something like?
Scanner s = new Scanner (System.in);
Notas notas [] = new Notas [3];
for (int i =0; i< notas){
System.out.println("Digite a nota");
notas[i] = s.nextNotas();
}
In that case, "Grades" would be another class.