The isLowerCase()
function returns true
if the character sent as a parameter is lowercase
; otherwise, it returns false
.
Figure 1 shows a visual representation of the isLowerCase()
function.
boolean isLowerCase(char character)
The isLowerCase()
function takes the character as a parameter.
The isLowerCase()
function returns true
if the character sent as a parameter is lowercase
; otherwise, it returns false
.
class JAVA {public static void main( String args[] ) {//uppercase characterSystem.out.println("Character.isLowerCase('E'):");System.out.println(Character.isLowerCase('E'));//lowercase characterSystem.out.println("Character.isLowerCase('e'):");System.out.println(Character.isLowerCase('e'));//not a letterSystem.out.println("Character.isLowerCase('6'):");System.out.println(Character.isLowerCase('6'));}}