单项选择题
从键盘获取浮点数成绩,正确选项是________。 public class InputScore{ public static void main(String[] args) { Scanner input = new Scanner(System.in); double score= input.__________; System. out.println(score); }}
A、 next ()
B、 nextLine()
C、nextDouble()
D、nextInt()
点击查看答案&解析
