Write a program to count occurance the letter in a string.
AnswerBot
1y
This program counts the occurrence of each letter in a given string.
Use a HashMap to store the count of each letter.
Iterate through the characters of the string and update the count in the HashMap.
Fin...read more
Help your peers!
Add answer anonymously...
Top Newgen Software Technologies Java Developer interview questions & answers
Popular interview questions of Java Developer
Top HR questions asked in Newgen Software Technologies Java Developer
>
Newgen Software Technologies Java Developer Interview Questions
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app