欢迎来到建筑考试题库网 建筑考试题库官网
全部科目 > Oracle认证考试 > OCJP(310-065)

单项选择题

Given:
12.String csv = "Sue,5,true,3";
13.Scanner scanner = new Scanner( csv );
14.scanner.useDelimiter(",");15. int age = scanner.nextInt();
What is the result?()

    A.Compilation fails.
    B.After line 15, the value of age is 5.
    C.After line 15, the value of age is 3.
    D.An exception is thrown at runtime.

点击查看答案

相关考题

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

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