difference between String a = "Selenium"; and String b = new String("Selenium"); ####
Question
difference between String a = "Selenium"; and String b = new String("Selenium"); ####
Solution
No answer
Similar Questions
Consider the following code,string s=new String(); will create an instance of string with
Consider following three statements. I. StringBuilder sb =new StringBuilder("OCAJP");II. StringBuilder sb0 =new StringBuilder("OCAJP ");III. String s =new String ("OCAJP");Which of the following will result true?*sb == sb0s.equals(sb)sb.equals(sb0)sb.toString().equals(s.toString())s == sb
Which of the following is a valid locator in Selenium?
Which of the following is NOT a valid way to declare a String variable?Question 17Answera.String name = "John";b.String name = new String("John");c.String name;d.String name = 'John';
What is the output of the following code snippet? String str1 = "Java"; String str2 = new String("Java"); System.out.println(str1 == str2);
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.