JAVA Strings What is the output of the following println statement?String str1 = "Hellow";System.out.println(str1.indexOf('t')); -1 true 1 0 false -1 true 1 0 false ANSWER DOWNLOAD EXAMIANS APP
JAVA Strings How many Constructor String class have? 2 11 13 7 None of this 2 11 13 7 None of this ANSWER DOWNLOAD EXAMIANS APP
JAVA Strings The class string belongs to ................. package. java.awt java.applet java.lang java.string java.awt java.applet java.lang java.string ANSWER DOWNLOAD EXAMIANS APP
JAVA Strings The String method compareTo() returns false true an int value 1 -1 false true an int value 1 -1 ANSWER DOWNLOAD EXAMIANS APP
JAVA Strings What will be the output?String str1 = "abcde";System.out.println(str1.substring(1, 3)); None of these abcd bcd abc bc None of these abcd bcd abc bc 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"; 2 4 None of this 3 2 4 None of this 3 ANSWER DOWNLOAD EXAMIANS APP