This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / 想问一下,为什么netbean 老出些怪异的编译错误?谢谢你瞧, 我的代码明明写的是:
dropRate[periodCounter]=(double)dropList.size()/(double)totalPackets[periodCounter];
他老人家报错:
Simulation_360periods.java [228:1] cannot resolve symbol
symbol : variable ropRate
location: class Simulation_360periods
ropRate[periodCounter]=(double)dropList.size()/(double)totalPackets[periodCounter];
^
为啥就把一个字母给吃了呢?我要是换行或打几个空格什么的,他有把别的字母给吃了,这是怎么回事?
-happy-day(想去玩);
2004-5-14
{456}
(#1722887@0)
-
看前一行,是不是把semicolon丢了。
-canadiantire(Crappy Tire);
2004-5-14
(#1722905@0)
-
举双手发誓,绝对没有.他也有可能把totalPackets读成tatlPackets.怪呀
-happy-day(夏天到了);
2004-5-14
(#1723152@0)