CharSequence与String的区别

 CharSequence与String都能用于定义字符串,但CharSequence的值是可读可写序列,而String的值是只读序列。

你可能感兴趣的:(CharSequence与String的区别)