import java.util.stream.*;
Stream sum of even numbers includeing 2 up to including N. Go to the Java streams cheat sheet for more.
The #1 tech hiring platform