为什么导入同类包错误了?
package com.lunce.lion; public class Dota2Hero { float dexterity; public Dota2Hero(){ System.out.println("hello"); } }
下面是是另一个包的同类代码
package com.lunce.lion;
public class Dota2Hero {
float dexterity;
public Dota2Hero(){
System.out.println("hello");
}
}