【发布时间】:2013-11-14 11:17:20
【问题描述】:
此方法无效
/**
* Outputs all details of all customers to the terminal window.
*/
public void getAllBorrowers()
{
int index = 0;
while(index < borrowers.size())
{
borrowers.get(index);
index++;
}
System.out.println("Number of borrowers: " + getNumberOfBorrowers());
}
【问题讨论】:
-
“不工作”不是一个体面的错误描述。