is char a Capital Alpha Letter - Android java.lang

Android examples for java.lang:Character

Description

is char a Capital Alpha Letter

Demo Code


//package com.java2s;

public class Main {

    private static boolean isCapAlpha(char c) {
        return (c >= 'A' && c <= 'Z');
    }/*w ww . java  2s .  co  m*/
}

Related Tutorials