Hello, I am a beginner and can not understand this:

String s = "Skakal pes pres oves";
s = s.substring(0, 6);
System.out.println(s);
String concat = s + " pes";
...