1. public class X {
2. public static void main (
String[]args) {
3. String s1 = new String (�true�);
4. Boolean b1 = new Boolean (true);
5. if (s2.equals(b1)) {
6. System.out.printIn(�Equal�);
7. }
8. }
9. }
I guess the ouptut is Compile time error...since there is no wrapper class for
Boolean b1=new Boolean(true);