Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
字符串 s = "abc";
此语句创建一个 String 对象。但是怎么做?对象创建不是与构造函数相关联吗?在不使用构造函数的情况下如何在这里创建对象?