Boldt
Monday, 26 August 2013
java boolean ^ operator
java boolean ^ operator
Can someone please explain this operator.
boolean value1 = true;
boolean value2 = false;
System.out.println(!(value1 ^ !value2));
I know this evaluates to true. But what exactly is a ^ and how does it work?
Regards.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment