Home

forName() is a static factory method

A. True

B. False

Please do not use chat terms. Example: avoid using "grt" instead of "great".

You can do it
  1. The break statement is required in the default case of a switch selection structure.
  2. One the features of is that an array can store many different types of values.
  3. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  4. Which javadoc tag is used to denote a comment for methods parameters?
  5. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  6. The check box group class is a subclass of the component class.
  7. Consider the following class definitions: class maths { student student1; } class student { String name;…
  8. The keywords reserved but not used in the initial version of Java re:
  9. In order to connect to a database through java program we must create _______-
  10. The default case is always required in the switch selection structure.
  11. What does the following line of code do?TextField text=new TextField(10);
  12. Which of the following represent legal flow control statements?
  13. It is an error to have a method with the same signature in both the super class and its subclass.
  14. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  15. An EJB is a server-side component that encapsulates the business logic of an application
  16. All methods in an abstract class must be declared abstract.
  17. Servlet has ___________
  18. Members of a class specified as private are accessible only to the methods of the class.
  19. Submit button always fires doPost(...)
  20. The name of the RMI compiler is ___________
  21. Which of the following keywords are used to control access to a class member?
  22. A class may be both abstract and final.
  23. The import statement is always the first no comment statement in a Java program files.
  24. Objects are passed to a method by use of call-by-reference.
  25. In the code below, what data types the variable x can have?
  26. We would like to make a member of a class visible in all subclasses regardless of what package they…
  27. Which of the following methods can be used to draw the outline of a square?
  28. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  29. The use of protected keyword to a member in a class will restrict its visibility as follows:
  30. All the bitwise operators have the same level of precedence in Java.