MainClass.java Source code

Java tutorial

Introduction

Here is the source code for MainClass.java

Source

import org.apache.commons.lang.StringUtils;

public class MainClass {
    public static void main(String[] args) {
        //Join all Strings in the Array into a Single String, separated by $#$ 
        System.out.println(
                "7) Join Strings using separator >>>" + StringUtils.join(new String[] { "AB", "CD", "EF" }, "$#$"));
    }
}