--5mCyUwZo2JvN/JJP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Christopher Rued [2004-05-21 18:31]:
> (a && !b) || (!a && b).
> There is no XOR boolean operator in Java, AFAIK.


Come on guys, think before you hit that send button: the boolean
operators in Java are:

! NOT
& AND
| OR
^ XOR

There are two short-ciruit operators:

&& AND
|| OR

These do not evaluate their right hand side expression if the left
side is either false (&&) or true (||). You actually should find
that in any entry level book on Java programming.

Regards
-Thorsten

--=20
You're not out of shape... because technically a circle is a shape.
=20
This message is digitally signed. To verify its integrity, download a copy
of GnuPG for your operating system from http://www.gnupg.org .

--5mCyUwZo2JvN/JJP
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFArjEERThlmOhl9moRAikGAJ9ejNXzAXAvGG4pEkqytE bz/dcBwACeNeWN
bRhfv9y9DsCrHpe1EjYWpK4=
=cX2g
-----END PGP SIGNATURE-----

--5mCyUwZo2JvN/JJP--