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 = 0x0068;
        int cp2 = 0x005c;

        int cp3 = Character.toTitleCase(cp1);
        int cp4 = Character.toTitleCase(cp2);

        String str1 = "Titlecase equivalent of " + cp1 + " is " + cp3;
        String str2 = "Titlecase equivalent of " + cp2 + " is " + cp4;

        System.out.println(str1);
        System.out.println(str2);
    }
}