String s = new String("12345");
byte a[] = s.getBytes();
for(int i=0; i< a.length;i++)
System.out.println(a[i]);
i am getting ASCII values as output, but according to JavaDoc i should get 1 2 3 4 5 as output right ?
byte a[] = s.getBytes();
for(int i=0; i< a.length;i++)
System.out.println(a[i]);
i am getting ASCII values as output, but according to JavaDoc i should get 1 2 3 4 5 as output right ?