Update readIn.java

update read in class