Home

DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.

A. True.

B. False.

You can do it
  1. A package is a collection of
  2. A Java monitor must either extend thread class or implement Runnable interface.
  3. It is perfectly legal to assign a subclass object to a supper class reference.
  4. putValue(...) method takes _____________________-
  5. An individual array element that is passed to a method and modified in that method will contain the…
  6. The break statement is required in the default case of a switch selection structure.
  7. We can add more than one class(es) at the time of compilation Java Beans.
  8. Throwing an exception always causes program termination.
  9. executeUpdate(------------) returns ___________
  10. The concept of multiple inheritance is implemented in Java by
  11. When we implement an interface method, it should be declared as public.
  12. When present, package must be the first no comment statement in the file.
  13. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  14. The import statement is always the first no comment statement in a Java program files.
  15. What is java -g used for?
  16. The default case is always required in the switch selection structure.
  17. Which of the following are not keywords?
  18. In a single Servlet class we can use____________
  19. Give file is a file object, which of the following are legal statements to create a new file.
  20. Which of the following represent legal flow control statements?
  21. Members of a class specified as private are accessible only to the methods of the class.
  22. Which are the valid ways to create DataInputStream streams?
  23. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  24. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  25. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  26. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  27. It is an error to have a method with the same signature in both the super class and its subclass.
  28. Objects are passed to a method by use of call-by-reference.
  29. In the code below, what data types the variable x can have?
  30. Which of the following methods can be used to change the size of a size() *resize()