class IcCard{
long id;
int money;
void showInfo(){
System.out.print("卡片卡号"+id);
System.out.println(",余额"+money+"元");
}
public class java1{
public void main (String [] argv){
IcCard myCard = new IcCard ();
myCard.id=123;
myCard.money=300;
myCard.showInfo();
}
}
}为什么显示找不到或无法加载java1呢
添加回答
举报
0/150
提交
取消