62,636
社区成员




public class Sample11_2
{
public static void main(String[] args)
{
String number = "60";
byte b = Byte.parseByte(number);
System.out.println("十进制byte: " + b);
b = Byte.parseByte(number, 8);
System.out.println("八朝向byte: " + b);
b = Byte.parseByte(number, 16);
System.out.println("十六进制byte: " + b);
}
}