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!);  

Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -