什么情况????
public class HelloWorld{
public static void main(String[] args) {
String hobby1;
hobby1="我爱慕课网";
String hobby2;
hobby2="www.imooc.com";
System.out.println(hobby1);
System.out.println(hobby2);
}
}
问题在哪里啊?
public class HelloWorld{
public static void main(String[] args) {
String hobby1;
hobby1="我爱慕课网";
String hobby2;
hobby2="www.imooc.com";
System.out.println(hobby1);
System.out.println(hobby2);
}
}
问题在哪里啊?
2015-01-11
举报