I am having a bytearray of byte[] type having the length 17 bytes, i want to convert this to string and want to give this string for another comparison but the output i am g
Maybe you should specify a charset:
String value = new String(byteArray, "UTF-8");