Method, a new string object was created to hold the result of adding text to the original string.

 
  • 方法两次调用的输出中可以看出,创建的新字符串对象中保存的是向原字符串中添加文本的结果。
今日热词
目录 附录 查词历史