public class mc_q05 { public static void main(String[] args) { boolean x, y; x = false; y = false; System.out.println( x + " | " + y + " | " + ((x || y) && x) ); x = false; y = true; System.out.println( x + " | " + y + " | " + ((x || y) && x) ); x = true; y = false; System.out.println( x + " | " + y + " | " + ((x || y) && x) ); x = true; y = true; System.out.println( x + " | " + y + " | " + ((x || y) && x) ); } }