Home

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

A. True

B. False

You can do it
  1. Which javadoc tag is used to denote a comment for methods parameters?
  2. Session bean
  3. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  4. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  5. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  6. Which of the following are not keywords?
  7. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  8. Which of the following statements are true?
  9. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  10. It is perfectly legal to refer to any instance variable inside of a static method.
  11. JSP files creates ________________
  12. When we implement an interface method, it should be declared as public.
  13. The keywords reserved but not used in the initial version of Java re:
  14. What does the following line of code do?TextField text=new TextField(10);
  15. Submit button always fires doPost(...)
  16. Which of the following represent legal flow control statements?
  17. The default case is always required in the switch selection structure.
  18. A package is a collection of
  19. Servlet can have ___________
  20. In order to connect to a database through java program we must create _______-
  21. A constructor must always invoke its supper class constructor in its first statement.
  22. Given the codeString s = new String("abc");Which of the following calls are valid?
  23. Which of the following methods belong to the String class?
  24. An EJB is a server-side component that encapsulates the business logic of an application
  25. Which of the following methods can be used to draw the outline of a square?
  26. JdbcOdbcDriver is an object of Object class
  27. To delete a file, we can use an instance of class file.
  28. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  29. We can over load methods with differences only in their return type.
  30. A Java monitor must either extend thread class or implement Runnable interface.