Update readMarks.java

changed method return