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 = 0x0c01;
        int cp2 = 0x003c;

        boolean b1 = Character.isMirrored(cp1);
        boolean b2 = Character.isMirrored(cp2);

        System.out.println((char) cp1 + " represents a mirrored character is " + b1);
        System.out.println((char) cp2 + " represents a mirrored character is " + b2);
    }
}