以下代码可以编译通过: public class Test2 { int x = 50; static int y =200 ; public static void method() { System.out.println(x+y); } public static void main(String[] args) { Test2.method(); } }
A.
正确
B.
错误
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
皮皮学刷刷变学霸
举一反三
【简答题】A.Some major problems the students will face in the future marriage. B.Some common problems that take place everyday. C.Some problems about the divorce. D.All above-mentioned.