Home

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

A. True.

B. False.

Please do not use chat terms. Example: avoid using "grt" instead of "great".

You can do it
  1. The length of a string object 's1' can be obtained using the expression s1.length.
  2. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  3. Throwing an exception always causes program termination.
  4. What does the following line of code do?TextField text=new TextField(10);
  5. Which of the following keywords are used to control access to a class member?
  6. We would like to make a member of a class visible in all subclasses regardless of what package they…
  7. Java is fully object oriented programme.
  8. A package is a collection of
  9. When we invoke repaint () for a Component, the AWT invokes the method:
  10. Servlet can have ___________
  11. The default case is always required in the switch selection structure.
  12. Objects are passed to a method by use of call-by-reference.
  13. In the code below, what data types the variable x can have?
  14. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  15. A string object can not be modified after it is created.
  16. Which of the following will produce a value of 22 if x=22.9:
  17. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  18. Any class may be inherited by another class in the same package.
  19. Every method of a final in class is implicitly final.
  20. Which of the following are the wrapper classes?
  21. Given the codeString s = new String("abc");Which of the following calls are valid?
  22. The keywords reserved but not used in the initial version of Java re:
  23. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  24. All methods in an abstract class must be declared abstract.
  25. Which exception is thrown by the read() method of InputStream class?
  26. To delete a file, we can use an instance of class file.
  27. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  28. Which of the following represent legal flow control statements?
  29. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  30. In a single Servlet class we can use____________