Campbell Ritchie wrote:You appear to be calling addStudent() etc from another class, SchoolApp, and SchoolApp hasn't got an addStudent() method.
You need to create a School object in that main method, then invoke the methods on that object.
By the way: your addStudent method in the School class doesn't seem to do anything. It asks for the Student's name, but doesn't do anything with it. It that because the class is incomplete?
yes the code is incomplete... i'm supposed to store it into a arraylist and retrieve it.
sorry to ask but can you teach me how to create a School object in the main method? I know it sounds stupid but i really am new and its a pressing assignment.