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. Which of the following classes are available in the java.lang package?
  2. The check box group class is a subclass of the component class.
  3. It is perfectly legal to refer to any instance variable inside of a static method.
  4. EJBs can be of the following type(s)None of the above
  5. The use of protected keyword to a member in a class will restrict its visibility as follows:
  6. Servlet can have ___________
  7. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  8. class.forName(...) creates an instance of java ODBC driver
  9. executeUpdate automatically updates data because___________
  10. Session bean
  11. All methods in an abstract class must be declared abstract.
  12. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  13. Which of the following control expressions are valid for an if statement?
  14. Which of the following are keywords?
  15. Which of the following statements are true?
  16. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  17. It is an error to have a method with the same signature in both the super class and its subclass.
  18. Java is fully object oriented programme.
  19. Any class may be inherited by another class in the same package.
  20. In the code below, what data types the variable x can have?
  21. Frames and applets cannot be used together in the same program.
  22. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  23. Java always provides a default constructor to a class.
  24. Servlet has ___________
  25. Which of the following represent legal flow control statements?
  26. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  27. Which of the following are not keywords?
  28. The methods wait() and noify() are defined in
  29. The default case is always required in the switch selection structure.
  30. When we invoke repaint () for a Component, the AWT invokes the method: