import java.util.*; public class testRefVars { public static void main( String[] args ) { Scanner console, console2; console = new Scanner( System.in ); console2 = console; System.out.print("Enter two integers separated by a space: "); int firstInt = console.nextInt(); System.out.println("Reading your next integer"); int secondInt = console2.nextInt(); System.out.println("Your numbers were " + firstInt + " and " + secondInt ); } }