In computer, the bitwise
operators as their name suggests actually work on individual bits of integer
(int and long) values rather than working with bytes (or characters).
However in the bitwise and bit shift operators are used to manipulate the contents of variables at a bit level according to binary format. These operators perform bitwise and bit shift operations on integral type variables.
The bitwise operators are most
commonly used for testing and setting individual flag bits in a value.
In order to understand their behavior, one must understand binary (base-2) numbers and the 2?s-complement format used to represent negative integers. You cannot use these operators with floating-point, array, or object operands.
Read more at
Rs. 20,000 US$ 300
Today: Rs. 10,000 US$150
Course Duration: 30 hrs
Posted on: October 6, 2010 If you enjoyed this post then why not add us on Google+? Add us to your Circles