Java tutorial
public class MainClass { public static void main(String[] args) { short s = -1800; Short s2 = new Short(s); System.out.println(s2.shortValue()); } }