Arithmetic shift and logical shift in Apex

In this post, we are going to talk about the differences between arithmetic shift and logical shift in Apex. Before reading this post, I hope you have a basic understanding about how bitwise operators work in Apex. If you don’t, you can refer to Patrick’s wonderful post here.

• • •