001package basics.swap;
002public class Main {
003        private Main() {}
004        static public void main (String[] args) {
005                //stdlib.Trace.graphvizShowSteps (true); stdlib.Trace.showBoxedPrimitivesAsPrimitive(false); stdlib.Trace.run ();
006                Integer x = 42;
007                Integer y = 27;
008                Main.swap(x,y);
009                System.out.println(x);
010                System.out.println(y);
011        }
012        static private void swap (Integer a, Integer b) {
013                Integer t = a;
014                a = b;
015                b = t;
016        }
017}