Core Java Assignment 4
Assignment on Strings:
String s =”This is a java class”
- How many words in a String?
- Length of the String?
- How many single character words in the String?
- Reverse each word ?
- Reverse entire String
- Replace java with SQL
- Letter at the center
- Index of j at center
- Number of times each letter repeated.
- Identify a letter which is not repeated.
- Identify the index of each word
- Identify the index of each word
- Convert the entire String in to upper case ?