It is a really simple question but I need an another eye to look at my code:
String strtr = \"iNo:\"; char[] queryNo = strtr.toCharArray(); System.out.println(qu
You are trying to print the array and that is the reason you get gibberish. Try using Arrays.toString(queryNo) and you will see what you expected.
Arrays.toString(queryNo)