Connection, Statement are interfaces and ResultSet is a class.

A. True.

B. False.

You can do it
  1. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  2. Which of the following methods can be used to remove a component from the display?
  3. In RMI before running the client program we must start RMI Registry.
  4. The use of protected keyword to a member in a class will restrict its visibility as follows:
  5. Which javadoc tag is used to denote a comment for methods parameters?
  6. executeUpdate automatically updates data because___________
  7. class.forName(...) creates an instance of java ODBC driver
  8. All methods in an abstract class must be declared abstract.
  9. An EJB is a server-side component that encapsulates the business logic of an application
  10. The import statement is always the first no comment statement in a Java program files.
  11. The methods wait() and noify() are defined in
  12. The concept of multiple inheritance is implemented in Java by
  13. Give file is a file object, which of the following are legal statements to create a new file.
  14. We would like to make a member of a class visible in all subclasses regardless of what package they…
  15. Which of the following control expressions are valid for an if statement?
  16. Which of the following classes are available in the java.lang package?
  17. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  18. A catch can have comma-separated multiple arguments.
  19. An individual array element that is passed to a method and modified in that method will contain the…
  20. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  21. The name of a Java program file must match the name of the class with the extension Java.
  22. When we implement the Runnable interface, we must define the method
  23. It is perfectly legal to refer to any instance variable inside of a static method.
  24. Which of the following keywords are used to control access to a class member?
  25. Declaring a method synchronized guarantees that the deadlock cannot occur.
  26. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  27. The setBackground() method is part of the class
  28. All the bitwise operators have the same level of precedence in Java.
  29. JdbcOdbcDriver is an object of Object class
  30. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.