Suppose you enter 45, press the Enter key, 57.8, press the Enter key, 789, and press the Enter key. Show the contents of the variables after the following code is executed.
Scanner input = new Scanner(System.in);int intValue = input.nextInt();double doubleValue = input.nextDouble();String line = input.nextLine();
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.