/**
* Author: 明明就会被淘汰
* Date: 2022/1/22 下午4:22
* Title:
*/
public class StringBuilder {
public static void main(String[] args) {
StringBuilder sb = new StringBuilder();
System.out.println("sb:" + sb);
System.out.println("sb.lenght:" + sb.length());
StringBuilder sb2 = new StringBuilder("hello");
System.out.println("sb2:" + sb2);
System.out.println("sb2.lenght:" + sb2.length());
}
}
版权属于:
肚子饿了才有力气吃饭
作品采用:
《
署名-非商业性使用-相同方式共享 4.0 国际 (CC BY-NC-SA 4.0)
》许可协议授权
评论 (0)