75.
What will be the output of the following Java program?
class String_demo 
{
    public static void main(String args[])
    {
        char chars[] = {'a', 'b', 'c'};
        String s = new String(chars);
        System.out.println(s);
    }
}

78.
What will be the output of the following Java program?
class output 
{
    public static void main(String args[])
    { 
       String s1 = "one";
       String s2 = s1 + " two";
       System.out.println(s2);
    }
}

Read More Section(Strings)

Each Section contains maximum 100 MCQs question on Strings. To get more questions visit other sections.