Skip to content

Commit 13889b3

Browse files
committed
Update challenges.md
1 parent f7c1bdd commit 13889b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/streams/challenges.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class Main {
2626

2727
Translate the following code using a for-loop to code using streams.
2828

29-
```java
29+
```java,editable
3030
import module java.base;
3131
3232
class Main {
@@ -49,7 +49,7 @@ Read the documentation on [`Collector`](https://docs.oracle.com/en/java/javase/2
4949

5050
Make an implementation of `Collector` that can collect elements into `MySpecialList`.
5151

52-
```java
52+
```java,editable
5353
import module java.base;
5454
5555
class MySpecialList<T> extends ArrayList<T> {}

0 commit comments

Comments
 (0)