Operators

© examsiri.com
Question : 13 of 23
 
Marks: +1, -0
Given:
1. class Maybe {
2.   public static void main(String[] args) {
3.    boolean b1 = true;
4.    boolean b2 = false;
5.    System.out.print(!false ^ false);
6.    System.out.print(" " + (!b1 & (b2 = true)));
7.    System.out.println(" " + (b2 ^ b1));
8.   }
9. }

Which are true?
Go to Question: