案例中的这段代码,eclipes为什么会报错
public class StringBuilder {
public static void main(String[] args) {
// TODO Auto-generated method stub
StringBuilder str1 = new StringBuilder();
StringBuilder str2 = new StringBuilder("imooc");
System.out.println(str2);
}
}