Java,
an Imperative Language
lImperative languages often permit the use of functional programming.

lSometimes just say ÒnoÓ to side-effects.

lOtherwise use functions and side-effects articulately.
 
lBest of both worlds!