下列选项中,可以实现String初始化的是?()
A:String str = "abc";
B:String str = new String();
C:String str = new String("abc");
D:char[] chs = {'a','b','c'};
发布时间:2024-06-14 09:22:47