Home

forName() is a static factory method

A. True

B. False

You can do it yup
  1. Which of the following command lines options generates documentation for all classes and methods?
  2. Declarations can appear anywhere in the body of a Java method.
  3. Which of the following classes are available in the java.lang package?
  4. Which key word can protect a class in package from accessibility by the classes outside the package?
  5. We can over load methods with differences only in their return type.
  6. The import statement is always the first no comment statement in a Java program files.
  7. In order to connect to a database through java program we must create _______-
  8. The keywords reserved but not used in the initial version of Java re:
  9. Which exception is thrown by the read() method of InputStream class?
  10. The check box group class is a subclass of the component class.
  11. One the features of is that an array can store many different types of values.
  12. It is an error to have a method with the same signature in both the super class and its subclass.
  13. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  14. A string object can not be modified after it is created.
  15. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  16. The programmer must explicitly create the system .in and system .out objects.
  17. Which javadoc tag is used to denote a comment for methods parameters?
  18. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  19. A panel can not be added to another panel.
  20. Which of the following will produce a value of 10 if x = 9.7?
  21. Which of the following are the wrapper classes?
  22. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  23. Servlet can have ___________
  24. Throwing an exception always causes program termination.
  25. The default case is always required in the switch selection structure.
  26. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  27. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  28. Which of the following will produce a value of 22 if x=22.9:
  29. EJBs can be of the following type(s)None of the above
  30. The concept of multiple inheritance is implemented in Java by