立即学习:https://edu.csdn.net/course/play/27274/361060?utm_source=blogtoedu
- 字符串
- String 可以直接赋值,也可以 使用 new,调用其构造方法。(构造为重载函数)
- 字符串连接 :使用+号,使用concat方法。
方法:charAt, length,substring,trim,indexof
立即学习:https://edu.csdn.net/course/play/27274/361060?utm_source=blogtoedu