6.下面代码片断的输出结果是什么? int w = 25, x = 3; boolean y = w < x; boolean z = w >= w * 2 - x * 9; boolean cc = ’b’ > ’a’; System.out.println("w<x=" + y); system.out.println("z=" + z); System.out.println(" cc=" + cc); 输出结果为:<br/><p class=" answer"> 参考答案: <span style="color:rgb(255, 0, 0)">w <x=false z="true" cc="true</span">
1、1.若逻辑运算的求值规则为:参与运算的两个量都为真时,结果才为真。该运算是( )。
A、逻辑与运算
B、逻辑非运算
C、逻辑或运算
D、逻辑加运算