I am trying to work on this problem but really failing understand it properly, I mean I understood the concept but having trouble knowing how to apply it.
Basically I need to read senstences using character reader and then find output the how many times each words has occured in the sentece or sentences
Here is the code:
Now I have to implement the code in the class ReadOne but don't know how to do it.
public class ReadOne
public Collection<Pair<String, Integer>> getAnswer(CharacterReader charac) throws EOFException
throw new UnsupportedOperationException( "No implementation Found" );
I hope someone can provide some help