+ 1

How to convert the result into one String line

I have many strings as result. How can I join It into one block of String. Please help. Thanks https://code.sololearn.com/cNSP9koOJ0xp/?ref=app

14th Feb 2021, 12:19 PM
Zovelosoa Jph
Zovelosoa Jph - avatar
2 Réponses
+ 2
Line 14: Replace System.out.println(p) with System.out.print(p+" ")
14th Feb 2021, 12:26 PM
Vadivelan
+ 1
Vadivelan thanks ! It works
24th Feb 2021, 11:28 AM
Zovelosoa Jph
Zovelosoa Jph - avatar