Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

public class Main {
    public static void main(String[] argv) throws Exception {

        char ch = 'a';
        if (Character.isLetter(ch)) { // true
        }
        if (Character.isDigit(ch)) { // false
        }
        if (Character.isLowerCase(ch)) { // true
        }
        if (Character.isUpperCase(ch)) { // false
        }
    }
}