标题: String构造函数 [打印本页] 作者: 王哲zhe 时间: 2015-8-21 23:26 标题: String构造函数 构造方法:
A:String s = new String();
B:String s = new String(byte[] bys);
C:String s = new String(byte[] bys,int index,int length);
D:String s = new String(char[] chs);
E:String s = new String(char[] chs,int index,int length);
F:String s = new String(String str);
G:String s = "hello";