單項(xiàng)選擇題

Java中,Scanner的哪個(gè)方法可以從控制臺(tái)接收字符串?()

A.nextShort()
B.nextInt()
C.nextLong()
D.next()

微信掃碼免費(fèi)搜題