Java tutorial
public class Main { public static void main(String[] argv) throws Exception { short s = Short.parseShort("123"); System.out.println(s); } }