Problem #452 C++ using OBJECT ORIENTED PROGRAMMING

Write a Java method to count all the words in a string.

Your Solution