JAVA Strings What will be output?String S1 = "S1 ="+ "123"+"456";String S2 = "S2 ="+(123+456); S1=123456,S2=123456 S1=123456, S2=579 S1=579,S2=579 None of This S1=123456,S2=123456 S1=123456, S2=579 S1=579,S2=579 None of This 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 1 0 false -1 true 1 0 false ANSWER DOWNLOAD EXAMIANS APP
JAVA Strings The class string belongs to ................. package. java.awt java.lang java.string java.applet java.awt java.lang java.string java.applet ANSWER DOWNLOAD EXAMIANS APP
JAVA Strings How many Constructor String class have? 11 2 13 7 None of this 11 2 13 7 None of this ANSWER DOWNLOAD EXAMIANS APP
JAVA Strings The String method compareTo() returns 1 true an int value false -1 1 true an int value false -1 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 None of this 4 3 2 None of this 4 3 ANSWER DOWNLOAD EXAMIANS APP