I would look it up myself, but I don't even know what it's called. Would anyone mind explaining what it does? Thanks!
EDIT: I didn't know there were multiple times the : appeared. What does it do in this case here:
public String toString() {
String cardString = "";
for (PlayingCard c : this.list) // <--
{
cardString = cardString + c + "\n";
}
Edit: How would you write this for-each loop a different way so as to not incorporate the ":"?