想问一下为什么运行错误?
public class HelloWorld{
public static void main(String[] args) {
String hobby="A";
System.out.println("变量hobby的内容是:"+hobby);
}
}public class HelloWorld{
public static void main(String[] args) {
String hobby="A";
System.out.println("变量hobby的内容是:"+hobby);
}
}2019-01-05
举报