EX-OR Boolean Operator in Java

Christopher Rued c.rued at xsb.com
Fri May 21 07:56:07 PDT 2004


Jayprakash_Gonella wrote:
> Hi,
>        Pardons for posting this question in this forum. Kinda of time
> constraint. urgent.
> 
> In Java,
>           || is ORed
>           && is ANDed
> 
> How is boolean EX-OR represented in Java?
> 
> thanks,
> regards,
> -jayprakash
> ************************************************************************** 
> This email (including any attachments) is intended for the sole use of the
> intended recipient/s and may contain material that is CONFIDENTIAL AND
> PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
> distribution or forwarding of any or all of the contents in this message is
> STRICTLY PROHIBITED. If you are not the intended recipient, please contact
> the sender by email and delete all copies; your cooperation in this regard
> is appreciated.
> **************************************************************************
> _______________________________________________
> freebsd-java at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java-unsubscribe at freebsd.org"

(a && !b) || (!a && b).
There is no XOR boolean operator in Java, AFAIK.

--C




More information about the freebsd-java mailing list