Please i noticed that the netbeans IDE doesn't recognize the windows end-of-file indicator Ctrl+Z + Enter.
aw do i go about this cause am trying to write a while loop using the hasNext() method and the end of file indicator is supposed to signal when to break out of the loop.