// File: swap.java // // Author: Rahul Simha // Created: Aug 17, 1998 // // Tests to see what happens with a possible swap. public class swap { public static void swap (int a, int b) { int temp; temp = a; a = b; b = temp; } public static void main (String[] argv) { int i=5, j=6; swap (i,j); System.out.println ("i=" + i + " j=" + j); // What gets printed out? } }