for (Bank_AC a : accountList)
{
System.out.println(toString(a));
}
I understand this is what is called an enhanced for loop: and it basiccaly iterates through the whole array.
What change would i make to the code just to iterate the through the first 3 elements?
This post has been edited by jon.kiparsky: 29 November 2012 - 12:19 PM

New Topic/Question
Reply



MultiQuote




|