Created
May 8, 2011 12:33
-
-
Save dypsilon/961343 to your computer and use it in GitHub Desktop.
Explaned to a friend how to use loops in java.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void printAccounts() { | |
for (int i = 0; i < accounts.length; i++) { | |
// schleifenlogik | |
Account currentAccount = accounts[i]; | |
Customer owner = currentAccount.getOwner(); | |
Integer id = currentAccount.getId(); | |
double balance = currentAccount.getBalance(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment