文字列型の一般的に使用される方法

 

 

例:

文字列R =「私は」

System.out.println(r.length())

 

おすすめ

転載: www.cnblogs.com/kaibindirver/p/11890511.html