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. The methods wait() and noify() are defined in
  2. Which of the following are keywords?
  3. DataInput is
  4. Which of the following will produce a value of 22 if x=22.9:
  5. Any class may be inherited by another class in the same package.
  6. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  7. Any method in a supper class can be over ridden in its subclass.
  8. One the features of is that an array can store many different types of values.
  9. Which of the following will produce a value of 10 if x = 9.7?
  10. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  11. The check box group class is a subclass of the component class.
  12. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  13. Give file is a file object, which of the following are legal statements to create a new file.
  14. Which of the following statements are valid array declarations?
  15. What does the following line of code do?TextField text=new TextField(10);
  16. A class may be both abstract and final.
  17. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  18. Given the codeString s = new String("abc");Which of the following calls are valid?
  19. An individual array element that is passed to a method and modified in that method will contain the…
  20. The default case is always required in the switch selection structure.
  21. The name of a Java program file must match the name of the class with the extension Java.
  22. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  23. executeUpdate(------------) returns ___________
  24. Which of the following command lines options generates documentation for all classes and methods?
  25. A static class method can be invoked by simply using the name of the method alone.
  26. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  27. class.forName(...) creates an instance of java ODBC driver
  28. Which of the following methods belong to the String class?
  29. The name of the RMI compiler is ___________
  30. What is wrong in the following class definitions? abstract class print { abstract show();} class…