logo

Java - IsLowerCase() Method


Show

The system resolves whether the particular char row is lowercase. The Character. isLowerCase(char ch) java process determines if the specific character is a lowercase disposition. A value is lowercase if it's an all-purpose category type, offered by Character. getType(ch), is LOWERCASE_LETTER, or it has contributory property Other_Lowercase as defined by the Unicode Standard.

Syntax

boolean isLowerCase(char ch)

Parameters

Here is the detail of parameters −

  • ch − Primitive character type.

Return Value

  • This method returns true, if the passed character is really in lowercase.

Example

public class Test {

   public static void main(String args[]) {
      System.out.println(Character.isLowerCase('c'));
      System.out.println(Character.isLowerCase('C'));
      System.out.println(Character.isLowerCase('\n'));
      System.out.println(Character.isLowerCase('\t'));
   }
}

This will produce the following result:

Output

true
false
false
false

Here at Intellinuts, we have created a complete Java tutorial for Beginners to get started in Java.