java.lang.Character.toTitleCase(char ch) java.lang.Character.toString() java.lang.Character.toString(char c) java.lang.Character.toTitleCase(char ch) package com.codingdict; import java.lang.*; public class CharacterDemo { public static void main(String[] args) { // create 4 char primitives char ch1, ch2, ch3, ch4; // assign values to ch1, ch2 ch1 = 'p'; ch2 = '+'; // assign titlecase of ch1, ch2 to ch3, ch4 ch3 = Character.toTitleCase(ch1); ch4 = Character.toTitleCase(ch2); String str1 = "Titlecase of " + ch1 + " is " + ch3; String str2 = "Titlecase of " + ch2 + " is " + ch4; // print ch3, ch4 values System.out.println( str1 ); System.out.println( str2 ); } } java.lang.Character.toString() java.lang.Character.toString(char c)