日期:2014-05-20 浏览次数:20815 次
public class StringToBoolean{ public static void main(String [] s){ char a = new Character('b'); boolean boo = Boolean.valueOf("true").booleanValue(); System.out.println(boo); byte byt = Byte.valueOf("2").byteValue(); System.out.println(byt); //char ch = a.charValue(); } }