Java Programs (Collection & String)
Java Programs (Collection & String)
3. Write a program to reverse first half separately and 2nd half separately?
7. Write a java program to find the duplicate words and their number of occurrences in
a string?
10. Write a java program to count the total number of occurrences of a given character
in a string?
11. Write a java program to count the number of occurrences of each character in
a string?
12. Write a java program to remove all white spaces from a string?
14. Write a program to check whether given two strings are anagrams?
15. Write a java program to reverse each word of a given string?