java check string contains uppercase character

public boolean containsUpperCaseLetter(String s){
	for(int i=0;i<s.length();i++){
    	if(Character.isUpperCase(s.charAt(i))){
        	return true;
        }
    }
	return false;
}

3.33
3
Sufjan 105 points

                                    yourString.chars().anyMatch(Character::isUpperCase)

3.33 (3 Votes)
0
Are there any code examples left?
Create a Free Account
Unlock the power of data and AI by diving into Python, ChatGPT, SQL, Power BI, and beyond.
Sign up
Develop soft skills on BrainApps
Complete the IQ Test
Relative searches
java check if a string is uppercase how to detect uppercase in java java is uppercase verify string upper case java java check if a char is uppercase check if string has a capital letter in it java check capital letter in string java how to check string has uppercase character in java if uppercase or lowercase java java has uppercase check if character is uppercase in java check if upper case java java check character is uppercase character java check if a character is uppercase checking for uppercase in java how to ignore if a character is an uppercase in java how to check if a character is an uppercase in java how to check string contains capital letters using java regex java check if character is uppercase or lowercase find letter uppercase java check if a character is uppercase in java check if a letter is uppercase java how to check if character is capital in java how to check check if a char is uppercase in java checking string for an uppercase letter java how to know if a character is capital in java how to check if java character is uppercase string contains uppercase java java check if char uppercase how to check with if else a character is uppercase or lowercase in java check string for uppercase java check that a character is uppercase java how to check if a string is uppercase in java character is uppercase java checking uppercase in java how to check if letter is uppercase java how to check if char is uppercase java how to check character in uppercase in java check if letter is uppercase + java how to check if character is uppercase java java how to check if a char is uppercase java check if capital letter how check if entered character is uppercase or lowercase in java how to check char is uppercase in java check character is uppercase or lowercase java how to check if a word has both upper case and lower case in java string is uppercase java java check if all characters in string are upperacse how to check uppercase in a String in java java check string is uppercase check upper case in java check any letter is uppercase java java test if char is uppercase how to check upper case in java to check if a character is in uppercase in java java check if string has uppercase check if character is upper case java how to check if a string is uppercase or lowercase in java check uppercase in java check if charcater is uppercase in java check if character is uppercase java how to check if a string contains a capital letter java check if string has both uppercase and lowercase in java how to check if a String is in uppercase in java how to check if a char is uppercase in java how to check if character is uppercase in java check if uppercase java how to check if a string contains uppercase in java java check if string is all uppercase check if character in string is uppercase java check if string is uppercase java check if a word only contains uppercase java check if a word is uppercase java Check if String starts with capital letter Java java how to check if letter is uppercase how to check uppercase in java how to check if string is uppercase java java string contain uppercase how to check if letter is capital in java check if a char is uppercase java check if a string is uppercase java check if string is in uppercase java how to check if a string contains upper case and lower case in java how to check character is uppercase in java java check if char is uppercase java check if letter is uppercase java if char is not uppercase check if string is capitalized java check uppercase letter in java How to check if a character is uppercase or lowercase in Java java see if letter in string is uppercase check if string contains uppercase java how to check if a character is uppercase in java check if char is uppercase java how to check for capital letters in java java check string contains uppercase character
Made with love
This website uses cookies to make IQCode work for you. By using this site, you agree to our cookie policy

Welcome Back!

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign in
Recover lost password
Or log in with

Create a Free Account

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign up
Or sign up with
By signing up, you agree to the Terms and Conditions and Privacy Policy. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.
Creating a new code example
Code snippet title
Source