Concatenate the given two strings - Java Quiz Question


Write a program to concatenate the given two strings.

Input (String, String) Output (String)
'Merit', 'Campus' 'MeritCampus'
'Java', 'School' 'JavaSchool'
'Hello', 'World' 'HelloWorld'
'Good', 'Bye' 'GoodBye'



class ConcatenationOfTwoStrings
{
    public static void main(String s[])
    {
        System.out.println("After Concatenation : " + getConcatenation("Merit", "Campus"));

    }


    public static String getConcatenation(String firstString, String secondString) {
    }

}