Friday, 23 March 2018

Bitwise Operators

In order to manipulate the data at the bit level, the bitwise operators are provided in Java. These operators are used for testing the bits as well as shifting them to left or right etc.

These can be applied to integer types only.That is, they can not be used along with float or double value.


All these operator except one's complement operator are binary operators. These  perform the given bitwise operation on the operands.

Accordingly, the result is obtained.Shift operators shift the binary equivalent bits of the operand to respective left or right position.

0 Comments:

Post a Comment

Popular Posts

Categories

Android (21) AngularJS (1) Books (3) C (75) C++ (81) Data Strucures (4) Engineering (13) FPL (17) HTML&CSS (38) IS (25) Java (85) PHP (20) Python (85) R (69) Selenium Webdriver (2) Software (13) SQL (27)