JAVA Strings How many Constructor String class have? None of this 7 2 13 11 None of this 7 2 13 11 ANSWER DOWNLOAD EXAMIANS APP
JAVA Strings What will be the output?String str1 = "abcde";System.out.println(str1.substring(1, 3)); abc bc abcd bcd None of these abc bc abcd bcd 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 str1 = "one";String str2 = "two";System.out.println(str1.concat(str2)); }} None of these twoone onetwo two one None of these twoone onetwo two one 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 Compilation error true false Throws Exception 0 Compilation error true false Throws Exception 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"; 4 None of this 2 3 4 None of this 2 3 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 1 0 true false -1 1 0 true false ANSWER DOWNLOAD EXAMIANS APP