Home

forName() is a static factory method

A. True

B. False

You can do it
  1. What is java -g used for?
  2. We can add more than one class(es) at the time of compilation Java Beans.
  3. Which of the following methods can be used to draw the outline of a square?
  4. Java always provides a default constructor to a class.
  5. One the features of is that an array can store many different types of values.
  6. Members of a class specified as private are accessible only to the methods of the class.
  7. Give file is a file object, which of the following are legal statements to create a new file.
  8. Session bean
  9. EJBs can be of the following type(s)None of the above
  10. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  11. JSP files creates ________________
  12. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  13. The keywords reserved but not used in the initial version of Java re:
  14. Any method in a supper class can be over ridden in its subclass.
  15. Which of the following methods can be used to remove a component from the display?
  16. Which of the following are the wrapper classes?
  17. A package is a collection of
  18. Consider the following class definitions: class maths { student student1; } class student { String name;…
  19. The break statement is required in the default case of a switch selection structure.
  20. When present, package must be the first no comment statement in the file.
  21. Declarations can appear anywhere in the body of a Java method.
  22. Objects are passed to a method by use of call-by-reference.
  23. A Java monitor must either extend thread class or implement Runnable interface.
  24. Which of the following statements are valid array declarations?
  25. Any class may be inherited by another class in the same package.
  26. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  27. putValue(...) method takes _____________________-
  28. A panel can not be added to another panel.
  29. Frames and applets cannot be used together in the same program.
  30. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.