public class Demo18 {
public static void main(String[] args) {
String s1 = "safasfsa";
System.out.println(s1);
System.out.println(s1.length());
String s2 = s1.toUpperCase();
System.out.println(s2);
}
}
01-29
2万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)