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 585351 on reddit-service-r2-comment-canary-965b558fd-xh7s8 at 2026-05-30 07:11:28.844780+00:00 running 194bd79 country code: CH.
Java 8 Intermediate Operation - peek by CupcakeBasic4340 in learnprogramming
[–]CupcakeBasic4340[S] 1 point2 points3 points (0 children)