先上代码
package come.my;
public class heyheyhey {
public static void main(String[] args){
String one="China";
System.out.println("I love"+one);
}
public static void main(String[] args){
shotr one="2016";
System.out.println("one"+one);
}
}
请教下是不是同一变量名不能在不同的变量类型中使用,每一个变量类型的变量名需要重新定义。可能存在语法错误,也请帮忙指正。
计量赵子龙
相忘于江湖494
相关分类