java.lang.Character.toTitleCase(int codePoint) java.lang.Character.toString(char c) java.lang.Character.toUpperCase(char ch) java.lang.Character.toTitleCase(int codePoint) package com.codingdict; import java.lang.*; public class CharacterDemo { public static void main(String[] args) { // create 4 int primitives int cp1, cp2, cp3, cp4; // assign values to cp1, cp2 cp1 = 0x0067; // represents g cp2 = 0x005e; // represents ^ // assign titlecase of cp1, cp2 to cp3, cp4 cp3 = Character.toTitleCase(cp1); cp4 = Character.toTitleCase(cp2); String str1 = "Titlecase equivalent of " + cp1 + " is " + cp3; String str2 = "Titlecase equivalent of " + cp2 + " is " + cp4; // print cp3, cp4 values System.out.println( str1 ); System.out.println( str2 ); } } java.lang.Character.toString(char c) java.lang.Character.toUpperCase(char ch)