Using java
public char[]convertBinaryTo Hex(boolean [] binary){