Converting byte array to string Unknown 00:01 Java No comments public class ByteArrayToString { public static void main(String[] args) { byte bytearray[]={96,97,98,99,100,101,102}; String str=new String(bytearray); System.out.println("String is "+str); } } Share This: Facebook Twitter Google+ Stumble Digg Email ThisBlogThis!Share to XShare to Facebook
0 comments:
Post a Comment