public class Result { public static void main(String args[]) { boolean p = false; boolean q = true; boolean r = q ^ p; System.out.println(!r); } }
output: false
Previous Question Next Question
Your comments will be displayed only after manual approval.