Java tutorial
public class Main { public static void main(String[] args) { short sval = 50; System.out.println("Value of specified short is = " + Short.toString((short) sval)); } }