Hi gud evening to all!! :)
Can someone help me with regards to my exercisE?
I really need to finish my exercise..

The problem is this..
I am going to determine how many times does the letter occurs in a sentence including spaces and periods...

For example:
Sentence:
We are welcome to come.

So.. output may be like this,
w=2
e=5
a=1
r=1
l=1
c=2
o=3
m=2
t=1
spaces=4
period=1


pls i really need your help... i have my code here... it's not working..
thanks for the repsz.....

Use the String.charAt() method to loop and get each character.
Then have a HashMap.
Whenever you get a character check the map. If it is in there then take the value stored, increase it by one and then put it in the map to replace the old value.
If it is not in the map, just put it with initial value 1.

Check the API for the HashMap class.