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

A. True

B. False

You can do it
  1. A constructor must always invoke its supper class constructor in its first statement.
  2. Throwing an exception always causes program termination.
  3. To delete a file, we can use an instance of class file.
  4. All methods in an abstract class must be declared abstract.
  5. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  6. Which of the following command lines options generates documentation for all classes and methods?
  7. Any class may be inherited by another class in the same package.
  8. Which of the following represent legal flow control statements?
  9. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  10. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  11. DataInput is
  12. Every method of a final in class is implicitly final.
  13. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  14. Connection, Statement are interfaces and ResultSet is a class.
  15. A catch can have comma-separated multiple arguments.
  16. JSP files creates ________________
  17. Which key word can protect a class in package from accessibility by the classes outside the package?
  18. Which of the following statements are true?
  19. Submit button always fires doPost(...)
  20. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  21. A variable declared inside the for loop control can not be referenced out side the loop.
  22. The keywords reserved but not used in the initial version of Java re:
  23. The use of protected keyword to a member in a class will restrict its visibility as follows:
  24. Any method in a supper class can be over ridden in its subclass.
  25. Which of the following classes are available in the java.lang package?
  26. The name of the RMI compiler is ___________
  27. In RMI we invoke client method from remote server
  28. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  29. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  30. Which of the following are keywords?