Question from the Java test

Write a Java program to convert a byte array to a string.

Expert

What is the output of the following code?

byte[] b={100,101,102};
String s=new String(b);
System.out.println(s);
Author: FodiéStatus: PublishedQuestion passed 86 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!