创建字符对象有哪两种方法 eclipse创建java文件 创建String的两种方式有什么区别?一般来说,创建字符串对象有两种方法:一种是new type:string s=new string(“ABC”);另一种是双引号类... 2021-03-13 3048次浏览