CODING:
public class ByteToStringExample {
public static void main(String[] args) {
Byte bObj = new Byte("10");
String str = bObj.toString();
System.out.println("Byte converted to String as " + str);
}
}
OUTPUT:
public class ByteToStringExample {
public static void main(String[] args) {
Byte bObj = new Byte("10");
String str = bObj.toString();
System.out.println("Byte converted to String as " + str);
}
}
OUTPUT:
Comments
Post a Comment