题库 软件开发 题目列表 下面语法正确的是
多选题

下面语法正确的是

A.

try (InputStream inputStream = new FileInputStream("xxx.txt")) { // dosomethings } catch (FileNotFoundException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); }

B.

public void test() { int i = 0; flag: while (i < 10) { i++; while (true) { break flag; } } }

C.

private static class Demo { int val; }

D.

public class Demo { private final static String a; }

题目信息
校招真题
-
正确率
0
评论
15
点击