Problem #286 CORE JAVA PROGRAMMING

Write a Java method to count all words in a string

Your Solution