|
下面是我写的代码
运行结果如下: 结果使得我很迷惑
[root@localhost woxiede]# javac AdminHourold.java
AdminHourold.java:56: e is already defined in main(java.lang.String[])
Emplogee e = (Emplogee)staff.get(i);
^
AdminHourold.java:59: e is already defined in main(java.lang.String[])
Manager e = (Manager)staff.get(staff.size());
^
2 errors
|
|