Java tutorial
public class Main { public static void main(String[] args) { Byte byteObject = new Byte("10"); short s = byteObject.shortValue(); System.out.println("short:" + s); } }