Skip to content

Commit 5820ba9

Browse files
authored
Update ex01.java
1 parent e632ed4 commit 5820ba9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-1/ex01.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public static void main(String[] args) {
1010
}
1111
private static void displayAll(){
1212
for (Iterator<String> it = cars.keySet().iterator(); it.hasNext();) {
13-
cars.get(it.next()).display();
13+
cars.get(it.next()).toString();
1414
}
1515
}
1616
private static void add(){

0 commit comments

Comments
 (0)