It always says "int cannot be dereferenced" in if ((students.get(i).MatNr).equals(obj)).
if ((students.get(i).MatNr).equals(obj))
Don\'t know what to do.
if (obj