All things are lawful, but not all things are profitable.
Knute Snortum wrote:Take a look at you for loop in TestCourse.
Knute Snortum wrote:You have the printlns indented under the for loop, but are they really controlled by the loop?
for (int i = 0; i < course1.getNumberOfStudents(); i++);
Being Java programmer.