Bitwise Interview Question

Basics to advance Java