import javax.swing.JOptionPane;

public class booleanex2  
{
	public static void main(String arg[])
	{
	 int x=3;
	 int y=4;
	 boolean b1=x>y;
	 boolean b2=x<y;
	 boolean b3=(x==y);
	 boolean b4=(x!=y);
	 boolean b5=!(x==y);
	 boolean b6=(x==y) && (x!=y);
	 boolean b7=b3 && b4;
	 String s="b1="+b1+"\n";
	 s+="b2="+b2+"\n";
	 s+="b3="+b3+"\n";
	 s+="b4="+b4+"\n";
	 s+="b5="+b5+"\n";
	 s+="b6="+b6+"\n";
	 s+="b7="+b7+"\n";
	 JOptionPane.showMessageDialog(null,s);
	}
}
