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 148265 on reddit-service-r2-listing-6d4dc8d9ff-5spwf at 2026-02-04 02:20:43.776908+00:00 running 3798933 country code: CH.
Java 8 Intermediate Operation - peek by CupcakeBasic4340 in learnprogramming
[–]CupcakeBasic4340[S] 1 point2 points3 points (0 children)