【发布时间】:2015-03-10 19:36:01
【问题描述】:
我的代码有点问题,请您帮忙:
String[] Boe;
Boe = new String[1]; <---- i think the error might also be here
BS = new Rectangle();
for (int p = 0; p < 1; p++)
{
//some code have been taken out
Boe = "Yes"; <----- this is where the error is being displayed
}
【问题讨论】:
-
Boe[0] = "Yes"并且这里真的不需要for循环。