Java - Write code to check if a char is Lower English Character

Requirements

Write code to check if a char is Lower English Character

Demo

//package com.book2s;

public class Main {
    public static void main(String[] argv) {
        char chr = 'a';
        System.out.println(isLowerEnglishCharacter(chr));
    }//from w w  w . j  a va2 s .com

    public static boolean isLowerEnglishCharacter(char chr) {
        int lowerStart = 97;//'a'
        int lowerEnd = 122;//'z'
        int code = (int) chr;
        return code >= lowerStart && code <= lowerEnd;
    }
}