JAVA Strings Determine output:public class Test{ public static void main(String args[]){ String s1 = "SITHA";String s2 = "RAMA";System.out.println(s1.charAt(0) > s2.charAt(0)); }} Compilation error 0 Throws Exception false true Compilation error 0 Throws Exception false true ANSWER DOWNLOAD EXAMIANS APP
JAVA Strings How many Constructor String class have? 7 2 11 13 None of this 7 2 11 13 None of this ANSWER DOWNLOAD EXAMIANS APP
JAVA Strings toString() method is defined in java.lang.util None of these java.lang.String java.lang.Object java.lang.util None of these java.lang.String java.lang.Object ANSWER DOWNLOAD EXAMIANS APP
JAVA Strings What will be the output of the following program?public class Test{ public static void main(String args[]){String str1 = "one";String str2 = "two";System.out.println(str1.concat(str2)); }} None of these twoone two one onetwo None of these twoone two one onetwo ANSWER DOWNLOAD EXAMIANS APP
JAVA Strings The String method compareTo() returns an int value -1 1 false true an int value -1 1 false true ANSWER DOWNLOAD EXAMIANS APP
JAVA Strings How many objects will be created?String a = new String("Examveda");String b = new String("Examveda");String c = "Examveda";String d = "Examveda"; 3 2 None of this 4 3 2 None of this 4 ANSWER DOWNLOAD EXAMIANS APP