It is necessary to output the words written into an array of 7 objects separated by spaces.
Interested in how to make this code shorter:
System.out.println(masyv[0] + " " + masyv[1] + " " + masyv[2] + " " + masyv[3] +" " + masyv[4] + " " + masyv[5] + " " + masyv[6]);