for some reason my code is not going into the for loop. i completely skips it. any ideas??
private ArrayList<Investment> investments = new ArrayList<Investment>();
public String toString()
{
String outPut;
outPut = "Account" + " " + super.getId() + "\n";
for(int i=0; i < investments.size(); i++)
{
//outPut += investments.get(i).toString() + "\n";
outPut += "Testing \n";
}
return outPut;
}