JAVA Strings How many Constructor String class have? None of this 11 7 2 13 None of this 11 7 2 13 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)); }} two onetwo twoone one None of these two onetwo twoone one None of these 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 s1 = "java";String s2 = "java";System.out.println(s1.equals(s2));System.out.println(s1 == s2); }} false true true true true false false false false true true true true false false false ANSWER DOWNLOAD EXAMIANS APP
JAVA Strings toString() method is defined in java.lang.util java.lang.Object java.lang.String None of these java.lang.util java.lang.Object java.lang.String None of these 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"; None of this 2 3 4 None of this 2 3 4 ANSWER DOWNLOAD EXAMIANS APP
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)); }} 0 false Throws Exception true Compilation error 0 false Throws Exception true Compilation error ANSWER DOWNLOAD EXAMIANS APP