Computer Science, asked by PHOENIX1243, 6 months ago

Write a program in Java to input a string and display only those words which begin with upper case character and end with lower case character.
Sample Input: Mahindra Singh Dhoni became new captain of twenty twenty world cup

Answers

Answered by Anonymous
0

Answer:

toUpperCase(char ch) converts the character argument to uppercase using case mapping information from the UnicodeData file. Note that Character. isUpperCase(Character. toUpperCase(ch)) does not always return true for some ranges of characters, particularly those that are symbols or ideographs.

Similar questions