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 4 None of this 2 3 4 None of this 2 ANSWER DOWNLOAD EXAMIANS APP
JAVA Strings The String method compareTo() returns true 1 -1 false an int value true 1 -1 false an int value ANSWER DOWNLOAD EXAMIANS APP
JAVA Strings What is the output of the following println statement?String str1 = "Hellow";System.out.println(str1.indexOf('t')); 1 true false 0 -1 1 true false 0 -1 ANSWER DOWNLOAD EXAMIANS APP
JAVA Strings How many Constructor String class have? None of this 7 2 11 13 None of this 7 2 11 13 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)); }} Throws Exception 0 Compilation error true false Throws Exception 0 Compilation error true false ANSWER DOWNLOAD EXAMIANS APP
JAVA Strings The output of the following fraction of code ispublic class Test{ public static void main(String args[]){ String s1 = new String("Hello");String s2 = new String("Hellow");System.out.println(s1 = s2);}} Hellow Compilation error None of these Hello Throws an exception Hellow Compilation error None of these Hello Throws an exception ANSWER DOWNLOAD EXAMIANS APP