105
Apparently a colon is used in multiple ways in Java. Would anyone mind explaining what it does?
For instance here:
String cardString = "";
for (PlayingCard c : this.list) // <--
{
cardString += c + "\n";
}
How would you write this for-each loop a different way so as to not incorporate the :?