forName() is a static factory method

A. True

B. False

You can do it
  1. The break statement is required in the default case of a switch selection structure.
  2. The programmer must explicitly create the system .in and system .out objects.
  3. When we implement an interface method, it should be declared as public.
  4. Objects are passed to a method by use of call-by-reference.
  5. class.forName(...) creates an instance of java ODBC driver
  6. A Java monitor must either extend thread class or implement Runnable interface.
  7. Which of the following will produce a value of 22 if x=22.9:
  8. Which of the following command lines options generates documentation for all classes and methods?
  9. Submit button always fires doPost(...)
  10. Consider the following class definitions: class maths { student student1; } class student { String name;…
  11. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  12. Servlet can have ___________
  13. forName() is a static factory method
  14. It is an error to have a method with the same signature in both the super class and its subclass.
  15. The name of a Java program file must match the name of the class with the extension Java.
  16. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  17. Throwing an exception always causes program termination.
  18. Connection, Statement are interfaces and ResultSet is a class.
  19. Frames and applets cannot be used together in the same program.
  20. In order to connect to a database through java program we must create _______-
  21. What is java -g used for?
  22. executeUpdate(------------) returns ___________
  23. Which of the following statements are valid array declarations?
  24. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  25. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  26. The concept of multiple inheritance is implemented in Java by
  27. A package is a collection of
  28. The use of protected keyword to a member in a class will restrict its visibility as follows:
  29. The methods wait() and noify() are defined in
  30. A final class may not have any abstract method.