Introduction
In Java, the NumberOfTrailingZeros()
method is used to return the number of zero bits following the lowest-order one bit (rightmost) of the two's complement of the integer value passed as an argument. In other words, it converts the integer value to binary and returns the total number of zero bits following the lowest(rightmost) one bit. This lab will guide you through the process of using NumberOfTrailingZeros()
method in Java.