Java xor operator with example programs

2

Java bit wise Xor operator operates on bits of numbers. It will be represented as "^". XOR will return true if both bits are different. For example 1 XOR 0 gives 1. Ex: 1^0=1. 0^1=1. Program#1:Java Example program on two integer numbers Xor operat

Read this post on instanceofjava.com


saidesh

blogs from hyderabad