【单选题】下列 A 类中【代码 1 】 ~ 【代码 4 】哪些是错误的? class Tom { private int x = 120; protected int y = 20; int z = 11; private void f() { x = 200; System.out.println(x); } void g() { x = 200; System.out.println(x); } } p...
【多选题】下列A类中 【代码 1 】 ~ 【代码 4 】 哪些是错误的? private int x = 120; protected int y = 20; int z = 11; private void f() { x = 200; System.out.println(x); } void g() { x = 200; System.out.println(x); } } public class ...
【单选题】下列A类中【代码1】~【代码4】哪个是错误的? class Tom { private int x = 120; protected int y = 20; int z = 11; private void f() { x = 200; System.out.println(x); } void g() { x = 200; System.out.println(x); } } public cl...