题目详情
单选题 The following code fragment reads in two numbers: Scanner input = new Scanner(System.in); int i = input.nextInt(); double d = input.nextDouble(); What is the incorrect way to enter these two numbers
A. Enter an integer, a space, a double value, and then the Enter key
B. Enter an integer, two spaces, a double value, and then the Enter key
C. Enter an integer, an Enter key, a double value, and then the Enter key
D. Enter a numeric value with a decimal point, a space, an integer, and then the Enter key

学科:Java程序设计-非计算机
时间:2023-06-18 05:09:11
相关题目
相关作业
