What is the correct answer?


forName() is a static factory method

A. True

B. False

Correct Answer :

A. True

Related Questions

A class may be both abstract and final. We can over load methods with differences only in their return type. Which of the following statements are valid array declarations? The length of a string object 's1' can be obtained using the expression… The import statement is always the first no comment statement in a Java… The keywords reserved but not used in the initial version of Java re: Objects are passed to a method by use of call-by-reference. DataInput is Which of the following represent legal flow control statements? The break statement is required in the default case of a switch selection… The name of the RMI compiler is ___________ In RMI we invoke client method from remote server The concept of multiple inheritance is implemented in Java by Given the codeString s = new String("abc");Which of the following calls… When we invoke repaint () for a Component, the AWT invokes the method: It is perfectly legal to assign a subclass object to a supper class reference. Which of the following statements are true? The modulus operator (%) can be used only with Integer operands. A final class may not have any abstract method. What is java -g used for? If m and n are int type variables, what will be the result of the expression'm… Connection, Statement are interfaces and ResultSet is a class. A catch can have comma-separated multiple arguments. It is perfectly legal to refer to any instance variable inside of a static… Which of the following command lines options generates documentation for… Which of the following statements are true? Members of a class specified as private are accessible only to the methods… With javadoc, which of the following denotes a javadoc comment? If you want to assign a value of 99 to the variable year, then which of… Message-Driven beans act as a listener for the Java Message Service API,…