Java tutorial
public class Main { public static void main(String[] args) { System.out.printf("%c %n", 'a'); System.out.printf("%C %n", 'a'); System.out.printf("%C %n", 98); System.out.printf("'%5C' %n", 102); System.out.printf("'%-5C' %n", 102); } }