Given the code
String s = new String("abc");
Which of the following calls are valid?

A. s.toUpperCase()

B. s.append("xyz")

C. s.setCharAt(1<'A')

D. all of the above

Please do not use chat terms. Example: avoid using "grt" instead of "great".

You can do it
  1. Which of the following are not keywords?
  2. The keywords reserved but not used in the initial version of Java re:
  3. A panel can not be added to another panel.
  4. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  5. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  6. The setBackground() method is part of the class
  7. The check box group class is a subclass of the component class.
  8. The break statement is required in the default case of a switch selection structure.
  9. A final class may not have any abstract method.
  10. In RMI before running the client program we must start RMI Registry.
  11. Which javadoc tag is used to denote a comment for methods parameters?
  12. A JSP file can be stored_________________
  13. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  14. What is java -g used for?
  15. When present, package must be the first no comment statement in the file.
  16. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  17. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  18. A string object can not be modified after it is created.
  19. putValue(...) method takes _____________________-
  20. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  21. Which of the following statements are valid array declarations?
  22. Which of the following represent legal flow control statements?
  23. Which of the following are keywords?
  24. Given the codeString s = new String("abc");Which of the following calls are valid?
  25. Which of the following statements are true?
  26. forName() is a static factory method
  27. executeUpdate automatically updates data because___________
  28. When we implement the Runnable interface, we must define the method
  29. What does the following line of code do?TextField text=new TextField(10);
  30. Servlet can have ___________