This site requires JavaScript, please enable it in your browser!
Greenfoot back
JavaLover
JavaLover wrote ...

2015/12/4

Expressions || and && !

JavaLover JavaLover

2015/12/4

#
Is "X || Y" the same as "X && ! Y"?
davmac davmac

2015/12/4

#
No. (It is the same as "! (!X && !Y)"). Consider X=false and Y=true.
You need to login to post a reply.