public class Integer_Bit
{
public static void main(String args[])
{
int x = 130; // 10000010
System.out.println(Integer.bitCount(x));
System.out.println(Integer.highestOneBit(x));
System.out.println(Integer.lowestOneBit(x));
System.out.println(Integer.numberOfLeadingZeros(x));
System.out.println(Integer.numberOfTrailingZeros(x));
}
}