Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

public class Main {

    public static void main(String[] args) {
        int cp1 = 0x0065, cp2 = 0x0066;

        boolean b1 = Character.isLetter(cp1);
        boolean b2 = Character.isLetter(cp2);
        System.out.println("Code point cp1 is a letter==" + b1);
        System.out.println("Code point cp2 is a letter==" + b2);
    }
}