Home

Connection, Statement are interfaces and ResultSet is a class.

A. True.

B. False.

You can do it
  1. To delete a file, we can use an instance of class file.
  2. Declarations can appear anywhere in the body of a Java method.
  3. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  4. Which of the following command lines options generates documentation for all classes and methods?
  5. Which of the following will produce a value of 22 if x=22.9:
  6. It is an error to have a method with the same signature in both the super class and its subclass.
  7. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  8. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  9. A Java monitor must either extend thread class or implement Runnable interface.
  10. A constructor must always invoke its supper class constructor in its first statement.
  11. All the bitwise operators have the same level of precedence in Java.
  12. Which of the following are not keywords?
  13. Which of the following are keywords?
  14. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  15. A JSP file can be stored_________________
  16. The keywords reserved but not used in the initial version of Java re:
  17. Declaring a method synchronized guarantees that the deadlock cannot occur.
  18. Which key word can protect a class in package from accessibility by the classes outside the package?
  19. Java always provides a default constructor to a class.
  20. When present, package must be the first no comment statement in the file.
  21. In order to connect to a database through java program we must create _______-
  22. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  23. Which of the following methods can be used to change the size of a size() *resize()
  24. A method declared as static can not access non-static class members.
  25. In RMI we invoke client method from remote server
  26. EJBs can be of the following type(s)None of the above
  27. The default case is always required in the switch selection structure.
  28. With javadoc, which of the following denotes a javadoc comment?
  29. Any method in a supper class can be over ridden in its subclass.
  30. Which of the following statements are true?