我把+city去掉,结果还是能输出我的家乡在:beijing为什么?
public class HelloWorld{
public static void main(String[] args) {
String city="beijing","wuhuan";
System.out.println("我的家乡在:");
}
}
public class HelloWorld{
public static void main(String[] args) {
String city="beijing","wuhuan";
System.out.println("我的家乡在:");
}
}
2015-11-08
举报