Home

forName() is a static factory method

A. True

B. False

You can do it
  1. A catch can have comma-separated multiple arguments.
  2. Members of a class specified as private are accessible only to the methods of the class.
  3. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  4. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  5. In the code below, what data types the variable x can have?
  6. In RMI we invoke client method from remote server
  7. Which of the following control expressions are valid for an if statement?
  8. A JSP file can be stored_________________
  9. Which of the following methods can be used to draw the outline of a square?
  10. Which of the following statements are valid array declarations?
  11. It is an error to have a method with the same signature in both the super class and its subclass.
  12. An individual array element that is passed to a method and modified in that method will contain the…
  13. The programmer must explicitly create the system .in and system .out objects.
  14. All the bitwise operators have the same level of precedence in Java.
  15. The name of the RMI compiler is ___________
  16. Servlet has ___________
  17. Which javadoc tag is used to denote a comment for methods parameters?
  18. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  19. Which of the following command lines options generates documentation for all classes and methods?
  20. A constructor must always invoke its supper class constructor in its first statement.
  21. Session bean
  22. Which of the following are keywords?
  23. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  24. Which of the following keywords are used to control access to a class member?
  25. When we implement the Runnable interface, we must define the method
  26. To delete a file, we can use an instance of class file.
  27. In order to connect to a database through java program we must create _______-
  28. JdbcOdbcDriver is an object of Object class
  29. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  30. putValue(...) method takes _____________________-