Java tutorial
public class Main { public static void main(String[] args) { short s = 10; Short sObj1 = new Short(s); Short sObj2 = new Short("10"); System.out.println(sObj1); System.out.println(sObj2); } }