Stream sum of evens in Java

Daxlo
7,478 views

Open Source Your Knowledge, Become a Contributor

Technology knowledge has to be shared and made accessible for free. Join the movement.

Create Content

import java.util.stream.*;

Silly reminider of streams

Stream sum of even numbers includeing 2 up to including N. Go to the Java streams cheat sheet for more.

Open Source Your Knowledge: become a Contributor and help others learn. Create New Content