A.FlowLayout B.GridLayout C.BorderLayout D.CardLayout
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() + " "); } } 結(jié)果是什么?()
A.x yy B.x,yy C.x yy 123 D.x,yy,123
A.產(chǎn)生換行 B.插入一個(gè)空行 C.產(chǎn)生回車 D.以上都不對(duì)