Java tutorial
public class MainClass { public static void main(String[] args) { byte by = (byte) 'A'; Byte by2 = new Byte(by); System.out.println(by2.byteValue()); } }