swift 4.x 字符和字符串

2019-10-22  本文已影响0人  redstar110

1. 字符变量和常量的声明及初始化

2. 字符的可变性

var str: String = "name" 可变
let 不可变

上一篇 下一篇

猜你喜欢

热点阅读