Java Program to Count Number of Words and Spaces in a String 2nd December 2019 by Sean Fleming Program Output