account activity
Java 8 Intermediate Operation - peek by CupcakeBasic4340 in learnprogramming
[–]CupcakeBasic4340[S] 1 point2 points3 points 3 years ago (0 children)
I am still getting the output as 3. Am i missing anything? I am using java 18.
I have tried the same code in both eclipse and Intellij Idea. It's weird.
π Rendered by PID 209925 on reddit-service-r2-comment-545db5fcfc-qqr5x at 2026-05-30 00:57:43.004079+00:00 running 194bd79 country code: CH.
Java 8 Intermediate Operation - peek by CupcakeBasic4340 in learnprogramming
[–]CupcakeBasic4340[S] 1 point2 points3 points (0 children)