string is uppercase java code example
Example 1: java uppercase
"Hello World".toUpperCase()
Example 2: java check string contains uppercase character
yourString.chars().anyMatch(Character::isUpperCase)
"Hello World".toUpperCase()
yourString.chars().anyMatch(Character::isUpperCase)