Home

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

A. True

B. False

You can do it
  1. Which of the following keywords are used to control access to a class member?
  2. The import statement is always the first no comment statement in a Java program files.
  3. The check box group class is a subclass of the component class.
  4. Which of the following will produce a value of 10 if x = 9.7?
  5. In RMI before running the client program we must start RMI Registry.
  6. In the code below, what data types the variable x can have?
  7. Which of the following control expressions are valid for an if statement?
  8. In RMI we invoke client method from remote server
  9. When we invoke repaint () for a Component, the AWT invokes the method:
  10. A JSP file can be stored_________________
  11. Which of the following will produce a value of 22 if x=22.9:
  12. Connection, Statement are interfaces and ResultSet is a class.
  13. We would like to make a member of a class visible in all subclasses regardless of what package they…
  14. The default case is always required in the switch selection structure.
  15. When we implement an interface method, it should be declared as public.
  16. Which exception is thrown by the read() method of InputStream class?
  17. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  18. It is an error to have a method with the same signature in both the super class and its subclass.
  19. In a single Servlet class we can use____________
  20. JdbcOdbcDriver is an object of Object class
  21. The setBackground() method is part of the class
  22. To delete a file, we can use an instance of class file.
  23. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  24. Which of the following are keywords?
  25. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  26. Which of the following methods can be used to remove a component from the display?
  27. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  28. Java is fully object oriented programme.
  29. Objects are passed to a method by use of call-by-reference.
  30. Which javadoc tag is used to denote a comment for methods parameters?