What are bitwise and bit shift operators?
Java bitwise operators act on the binary representation of primitive numbers int and long. Bitwise shift operators perform low level mathematical actions as if they physically shift binary digits left and right. The bitwise logical operators compare numbers bit by bit and transform them according to boolean logic. The examples below show how the 32 bit binary values are transformed by each operator and highlight some significant exceptions in the the use of shift operators in mathematics. … full answer hidden, click here for all answers Actions: Follow-up or correct this answer. Submit a new question.