Wordiff: Difference between revisions
m
Minor code correction.
(New post.) |
m (Minor code correction.) |
||
Line 630:
List<String> playerNames = new ArrayList<String>();
for ( int i = 0; i < 2; i++ ) {
System.out.print("Please enter the
String playerName = scanner.nextLine().trim();
playerNames.add(playerName);
|