【简答题】请给出下面程序的输出结果。 class B { int x = 100, y = 200; public void setX(int x) { x = x; } public void setY(int y) { this.y = y; } public int getXYSum() { return x + y; } } public class A { public static void m...
【简答题】请给出下面程序的输出结果。 class Bus { int num; String color; void run() { int num = 10; System.out.println(num + "___" + color); } } public class MemVarDemo { public static void main(String[] args) { memberDemo()...