Writing forEach with java 8 lambda

Let’s take a simple example. It’s easier, probably, and can not be – create a list of numbers and display it on the screen through the simplest cycle:

Read More

How to convert java string array to string with delimiter

Using String.join method (from java 8)

Using simple for-loop expression

 

Read More