Home

Which of the following methods belong to the String class?

A. length()

B. compareTo()

C. substring()

D. all of the them

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

You can do it
  1. It is perfectly legal to refer to any instance variable inside of a static method.
  2. When present, package must be the first no comment statement in the file.
  3. The name of the RMI compiler is ___________
  4. The modulus operator (%) can be used only with Integer operands.
  5. Any method in a supper class can be over ridden in its subclass.
  6. In the code below, what data types the variable x can have?
  7. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  8. What is java -g used for?
  9. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  10. It is perfectly legal to assign a subclass object to a supper class reference.
  11. All the bitwise operators have the same level of precedence in Java.
  12. We can over load methods with differences only in their return type.
  13. An EJB is a server-side component that encapsulates the business logic of an application
  14. Which are the valid ways to create DataInputStream streams?
  15. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  16. Connection, Statement are interfaces and ResultSet is a class.
  17. Which of the following keywords are used to control access to a class member?
  18. We would like to make a member of a class visible in all subclasses regardless of what package they…
  19. Which of the following represent legal flow control statements?
  20. We can add more than one class(es) at the time of compilation Java Beans.
  21. Which of the following are keywords?
  22. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  23. Which of the following represent legal flow control statements?
  24. What does the following line of code do?TextField text=new TextField(10);
  25. Servlet can have ___________
  26. executeUpdate automatically updates data because___________
  27. Java is fully object oriented programme.
  28. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  29. Which of the following statements are valid array declarations?
  30. The setBackground() method is part of the class