Main.java:12: error: incompatible types: int cannot be converted to String
String[][] students = {{"Bobby", 87}, {"Charles", 100}, {"Eric", 64},
^
Main.java:12: error: incompatible types: int cannot be converted to String
String[][] students = {{"Bobby", 87}, {"Charles", 100}, {"Eric", 64},
^
Main.java:12: error: incompatible types: int cannot be converted to String
String[][] students = {{"Bobby", 87}, {"Charles", 100}, {"Eric", 64},
^
Main.java:13: error: incompatible types: int cannot be converted to String
{"Charles", 22}};
^
Main.java:18: error: no suitable method found for add(String)
score1.add(students[i][1]);
^
method Collection.add(Integer) is not applicable
(argument mismatch; String cannot be converted to Integer)
method List.add(Integer) is not applicable
(argument mismatch; String cannot be converted to Integer)
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
5 errors