4
I’m trying to do a bit manipulation in java, but I have a certain problem.
I’m storing any number in an int and trying to get the least significant bit of it, but I don’t know how to do that.
For example:
int valor = 98;
The 98 binary value is 1100010 and I’m trying to get and save in another int only 0(110001'0'), and do this with any number regardless of size.
Could you help me?
Size independent? So I can have a housing structure imposed by me, other than the primitive Java standard types?
– Jefferson Quesado