Home

The length of a string object 's1' can be obtained using the expression s1.length.

A. True

B. False

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

You can do it
  1. A panel can not be added to another panel.
  2. A string object can not be modified after it is created.
  3. Which exception is thrown by the read() method of InputStream class?
  4. forName() is a static factory method
  5. What does the following line of code do?TextField text=new TextField(10);
  6. Which of the following statements are valid array declarations?
  7. putValue(...) method takes _____________________-
  8. Which of the following methods belong to the String class?
  9. In RMI before running the client program we must start RMI Registry.
  10. In RMI we invoke client method from remote server
  11. The check box group class is a subclass of the component class.
  12. Given the codeString s = new String("abc");Which of the following calls are valid?
  13. Java is fully object oriented programme.
  14. A final class may not have any abstract method.
  15. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  16. Servlet can have ___________
  17. The break statement is required in the default case of a switch selection structure.
  18. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  19. Which of the following classes are available in the java.lang package?
  20. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  21. All methods in an abstract class must be declared abstract.
  22. A static class method can be invoked by simply using the name of the method alone.
  23. Which key word can protect a class in package from accessibility by the classes outside the package?
  24. Which of the following statements are true?
  25. Which are the valid ways to create DataInputStream streams?
  26. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  27. Which of the following control expressions are valid for an if statement?
  28. Frames and applets cannot be used together in the same program.
  29. The programmer must explicitly create the system .in and system .out objects.
  30. The methods wait() and noify() are defined in