File file = new File(fileName);
Scanner scan = new Scanner (file);
while(scan.hasNextWord()) {
}
Is there such thing as hasNextWord()?
I need to store each word on specific text file and store them as array and print them out individually.
For example, if hello.txt contains --
Hello, my name...