ho wto convert the numbers to bits in java code example Example: int to binary java String binary = Integer.toBinaryString(num);