Home

class.forName(...) creates an instance of java ODBC driver

A. True

B. False

You can do it
  1. The check box group class is a subclass of the component class.
  2. Two methods cannot have the same name in Java.
  3. We would like to make a member of a class visible in all subclasses regardless of what package they…
  4. A Java monitor must either extend thread class or implement Runnable interface.
  5. Throwing an exception always causes program termination.
  6. The use of protected keyword to a member in a class will restrict its visibility as follows:
  7. It is perfectly legal to assign a subclass object to a supper class reference.
  8. A constructor must always invoke its supper class constructor in its first statement.
  9. Which of the following represent legal flow control statements?
  10. Which of the following will produce a value of 22 if x=22.9:
  11. When present, package must be the first no comment statement in the file.
  12. The default case is always required in the switch selection structure.
  13. All methods in an abstract class must be declared abstract.
  14. Give file is a file object, which of the following are legal statements to create a new file.
  15. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  16. A static class method can be invoked by simply using the name of the method alone.
  17. Which javadoc tag is used to denote a comment for methods parameters?
  18. Objects are passed to a method by use of call-by-reference.
  19. In RMI we invoke client method from remote server
  20. When we implement the Runnable interface, we must define the method
  21. With javadoc, which of the following denotes a javadoc comment?
  22. It is an error to have a method with the same signature in both the super class and its subclass.
  23. forName() is a static factory method
  24. The name of the RMI compiler is ___________
  25. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  26. The programmer must explicitly create the system .in and system .out objects.
  27. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  28. DataInput is
  29. Which of the following are not keywords?
  30. Given the codeString s = new String("abc");Which of the following calls are valid?