1 package test3; 2 3 public class StrBuild { test()4 public int test() { 5 StringBuilder sb = new StringBuilder("test"); 6 return sb.charAt(0); 7 } 8 } 9