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.

时间:2022-11-06 22:32:39 所属题库:OCJP(310-065)题库

相似题目