java - Boolean issue i cant solve -
I am trying to solve this boolean practice, but whatever I do, I can not get it properly, please advise, it will be horrible.
Import java.util. *; Public class W134 {public static zero main (string [] args) {When (JPL.Test ()) {/ When it reads two input boolean values, it generates the following results: * / // (true true) - & gt; False // (true false) - & gt; False // (false) - & gt; True // (false false) - & gt; True scanner keyboard = new scanner (System.in); Boolean A = Keyboard NX BlueOilion (); Boolean B = keyboard.nxwion (); System.out.print (a! = B & a == b); }}}}}
This will give the desired result:
< Code> println (one!);