Convert byte to String by concatenation with an empty String in Java
Description
The following code shows how to convert byte to String by concatenation with an empty String.
Example
/*from w w w . ja v a2 s . c o m*/
public class Main {
public static void main(String[] args) {
byte b = 65;
System.out.println(b + "");
}
}
The code above generates the following result.
Home »
Java Tutorial »
Java Data Type »
Java Tutorial »
Java Data Type »