Home

The break statement is required in the default case of a switch selection structure.

A. True

B. False

You can do it
  1. A variable declared inside the for loop control can not be referenced out side the loop.
  2. A method declared as static can not access non-static class members.
  3. The modulus operator (%) can be used only with Integer operands.
  4. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  5. executeUpdate(------------) returns ___________
  6. Connection, Statement are interfaces and ResultSet is a class.
  7. Which of the following classes are available in the java.lang package?
  8. Session bean
  9. Members of a class specified as private are accessible only to the methods of the class.
  10. JdbcOdbcDriver is an object of Object class
  11. Which of the following control expressions are valid for an if statement?
  12. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  13. An individual array element that is passed to a method and modified in that method will contain the…
  14. With javadoc, which of the following denotes a javadoc comment?
  15. Which of the following are the wrapper classes?
  16. A final class may not have any abstract method.
  17. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  18. Servlet can have ___________
  19. When the string objects are compared with ==, the result is true If the strings contain the same values.
  20. It is an error to have a method with the same signature in both the super class and its subclass.
  21. In order to connect to a database through java program we must create _______-
  22. All the bitwise operators have the same level of precedence in Java.
  23. The keywords reserved but not used in the initial version of Java re:
  24. The methods wait() and noify() are defined in
  25. Which of the following methods can be used to draw the outline of a square?
  26. The use of protected keyword to a member in a class will restrict its visibility as follows:
  27. Which of the following are keywords?
  28. We can over load methods with differences only in their return type.
  29. A constructor must always invoke its supper class constructor in its first statement.
  30. To delete a file, we can use an instance of class file.