试题详情
单项选择题 import java.util.*;  class ScanStuff {  public static void main(String [] args) {  String s = "x,yy,123";  Scanner sc = new Scanner(s);  while (sc.hasNext())  System.out.print(sc.next() + " ");  }  }  结果是什么?() 

A、x yy

B、x,yy

C、x yy 123

D、x,yy,123

  • D
  • 关注下方微信公众号,在线模考后查看

热门试题