News

Notice how the output includes only the first String the Java Scanner read ... To get each individual text String, we must create a loop and iterate through the input String with the Scanner’s hasNext ...