Java逻辑运算符示例代码 public class LogicalOperation { public static void main(String[] args) { int a = 5; int b = 10; boolean c = true; boolean d = false;