public static void main(String args[]){
        ReverseBits rb = new ReverseBits();
        System.out.println(rb.reverse(418));
    }
http://www.geeksforgeeks.org/write-an-efficient-c-program-to-reverse-bits-of-a-number/
src/com/interview/bits/ReverseBits.java