public void minresult(){
int currentMin = 4;
int minClass = 0;
for (Student s : classList) {
for (int i = 0; i < s.result.length; i++) {
if (s.result.gradePoint != -1 && s.result[i].gradePoint < currentMin)
minClass = s.result[i].gradePoint;
}
}System.out.println(minClass +"TEst test");
} //end method()When I call this method it does not return any results, I think im calling it at the right place but its always 0, my assignments in today, and I need to make this work ):
Please anyone help!