this is binary of 2 =>10
this is binary of 3=>11
then we are performing AND operations then why we put or represent 2 like this 0000010 why we put so many zeros 1st
Related to bitwise
@missroy It is not compulsory to add too many zeros. But in java size of int is of 32 bits so it is just a method to represent the total 32 bits of the number. That it has been allotted some space but they are zero as default.