« Back
package com.string; public class StringJoin { public static void main(String args[]) { String str = String.join(">","apple","boy","cat"); System.out.println(str); } }
apple>boy>cat
×
Report a Problem:
Description:
Submit