欢迎来到牛牛题库网 牛牛题库官网
logo

单项选择题

从键盘获取浮点数成绩,正确选项是________。 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()

点击查看答案&解析
微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题