Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 May 2004 10:56:04 -0400
From:      Christopher Rued <c.rued@xsb.com>
To:        Jayprakash_Gonella <Jayprakash_Gonella@satyam.com>
Cc:        freebsd-java@freebsd.org
Subject:   Re: EX-OR Boolean Operator in Java
Message-ID:  <40AE1884.3090206@xsb.com>
In-Reply-To: <7FF62A49079FD511B14400065B19EF120550B8A0@cprnt003.satyam.com>

index | next in thread | previous in thread | raw e-mail

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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org"

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

--C



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40AE1884.3090206>