001package basics.mixedclass;
002public class Main {
003        private Main() {}
004        static public void main (final String[] args) {
005                //stdlib.Trace.graphvizShowSteps (true); stdlib.Trace.run ();
006                try {
007                        if (args.length != 1)
008                                throw new NumberFormatException();
009                        int vx = Integer.parseInt(args[0]);
010                        Integer rx = new Integer(vx);
011                        System.out.println("  Number: " + rx.toString());
012                        System.out.println("Hashcode: " + rx.hashCode());
013
014                } catch (NumberFormatException e) {
015                        System.out.println("Error: Bad input");
016                }
017        }
018}