1 | package pro.nikolaev;
 2 | public class HelloWorld {
 3 |     private static String[] lines = new String[] {
 4 |             "Hello world!", "I'm backend Java developer.", "My name is Ilya."};
 5 |     public static void main(String[] args) {
 6 |         for (String line : lines) {
 7 |             System.out.println(line);
 8 |         }
 9 |     }
10 | }
Hello World!
I'm backend Java developer.
My name is Ilya.