请阅读下面的程序段 : public class Example02 { public static void main(String[] args) { int x = 0; int y = 0; boolean b = (x==0) || y++<0; System.out.println("b = "+b+", y = "+y); } } 程序的运行结果是 ( ) 。
A.
b=false,y=0
B.
b=false,y=1
C.
b=true,y=0
D.
b=true,y=1
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
皮皮学刷刷变学霸
举一反三
【单选题】_________ is not a serious disadvantage in life.