这个返回字符串的方法怎么用呢,我都是在eclipse上运行练习的。 提示没有为类型定义方法
String str = "aaaaa";
int length = str.length();//length = 5