Skip to content

Commit 9c2b1ba

Browse files
committed
Minor Change
1 parent 936fb7a commit 9c2b1ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pages/examples/arraylist.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ public interface ArrayListRefinements<E> {
2626
```
2727

2828
```java
29-
ArrayList<Integer> list = new ArrayList<>();
30-
list.add(1);
29+
ArrayList<String> list = new ArrayList<>();
30+
list.add("apple");
3131
list.get(0);
3232
list.get(1); // Refinement Error
3333
```

0 commit comments

Comments
 (0)