tl  tr
  Home | Tutorials | Articles | Videos | Products | Tools | Search
Interviews | Open Source | Tag Cloud | Follow Us | Bookmark | Contact   
 Java > Core > Character > Is Lowercase

Is Lowercase 

The following example shows how to use Character.isLowerCase() API.

File Name  :  
com/bethecoder/tutorials/core/character/CharIsLowerCase.java 
Author  :  Sudhakar KV
Email  :  [email protected]
   
package com.bethecoder.tutorials.core.character;

public class CharIsLowerCase {

  /**
   @param args
   */
  public static void main(String[] args) {
    
    System.out.println(Character.isLowerCase('a'));
    System.out.println(Character.isLowerCase('z'));
    
    System.out.println(Character.isLowerCase(' '));
    System.out.println(Character.isLowerCase('\n'));
    System.out.println(Character.isLowerCase('A'));
    System.out.println(Character.isLowerCase('9'));
  }

}
   

It gives the following output,
true
true

false
false
false
false



 
  


  
bl  br