The program has an ArrayList of 50 grades, and one of the methods that is called is supposed find if a value exists in the ArrayList. This is what I have:
public void find(int g) {
int grade = 0;
if (grades.contains(g)) {
grade++;
}
Did I do this right?