The following text was written to the standard output stream when the StringThing.java program was executed from IntelliJ.
Names ... Singer = Holiday, Billie Sculptor = Claudel, Camille Painter = Picasso, Pablo Dancer = Zotto, Osvaldo Self = Amaratunga, Navya Name lengths ... Singer = 15 Sculptor = 16 Painter = 14 Dancer = 14 Self = 17 Comma positions ... Singer = 7 Sculptor = 7 Painter = 7 Dancer = 5 Self = 10 First names ... Singer = Billie Sculptor = Camille Painter = Pablo Dancer = Osvaldo Self = Navya Last names ... Singer = Holiday Sculptor = Claudel Painter = Picasso Dancer = Zotto Self = Amaratunga First names, once again ... Billie Camille Pablo Osvaldo Navya Last names, once again ... Holiday Claudel Picasso Zotto Amaratunga Full names, natural style ... Billie Holiday Camille Claudel Pablo Picasso Osvaldo Zotto Navya Amaratunga Process finished with exit code 0