so I\'m working on a computer science lab currently and I\'m stumped on a way to have the in.hasNext(); method detect whether Ctrl - D is entered at the end of the
in.hasNext();