Which of the following methods belong to the String class?

A. length()

B. compareTo()

C. substring()

D. all of the them

You can do it
  1. A catch can have comma-separated multiple arguments.
  2. Connection, Statement are interfaces and ResultSet is a class.
  3. With javadoc, which of the following denotes a javadoc comment?
  4. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  5. A constructor must always invoke its supper class constructor in its first statement.
  6. All methods in an abstract class must be declared abstract.
  7. The use of protected keyword to a member in a class will restrict its visibility as follows:
  8. One the features of is that an array can store many different types of values.
  9. In RMI we invoke client method from remote server
  10. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  11. Throwing an exception always causes program termination.
  12. Which of the following statements are true?
  13. executeUpdate(------------) returns ___________
  14. Which of the following will produce a value of 10 if x = 9.7?
  15. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  16. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  17. A Java monitor must either extend thread class or implement Runnable interface.
  18. Submit button always fires doPost(...)
  19. A class may be both abstract and final.
  20. The break statement is required in the default case of a switch selection structure.
  21. Which of the following statements are true?
  22. When we implement the Runnable interface, we must define the method
  23. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  24. Which of the following statements are valid array declarations?
  25. Given the codeString s = new String("abc");Which of the following calls are valid?
  26. The name of a Java program file must match the name of the class with the extension Java.
  27. In order to connect to a database through java program we must create _______-
  28. Frames and applets cannot be used together in the same program.
  29. The methods wait() and noify() are defined in
  30. Which of the following are keywords?