Determine character is lowercase

Complete source code below will show you, how to determine character is lowercase or not in java.

**********************************************************************
COMPLETE SOURCE CODE FOR : DetermineCharacterIsLowercase.java
**********************************************************************


public class DetermineCharacterIsLowercase
{
public static void main(String[]args)
{
//Create a lowercase character using char with value(b)
//You can try change it's value to letter(B)
char a='b';

//Determine created character is lowercase or not
//using method isLowerCase from class Character.
//isLowerCase is a static method, so we don't need to create object when
//we want to use it.
if(Character.isLowerCase(a))
{
//Print (It is a lowercase) if character is a lowercase
System.out.println("It is a lowercase");
}
else
{
//Print (It is not a lowercase) if character is not a lowercase
System.out.println("It is not a lowercase");
}
}
}


**********************************************************************
JUST COMPILE AND EXECUTE IT
**********************************************************************

RELAXING NATURE VIDEO