What is the correct answer?


Two methods cannot have the same name in Java.

A. True

B. False

Correct Answer :

B. False

Related Questions

JdbcOdbcDriver is an object of Object class Declaring a method synchronized guarantees that the deadlock cannot occur. When we invoke repaint () for a Component, the AWT invokes the method: What is wrong in the following class definitions? abstract class… Which of the following control expressions are valid for an if statement? In RMI before running the client program we must start RMI Registry. We can over load methods with differences only in their return type. The check box group class is a subclass of the component class. class.forName(...) creates an instance of java ODBC driver The modulus operator (%) can be used only with Integer operands. One the features of is that an array can store many different types of… A final class may not have any abstract method. Which of the following string can be used as mode string for creating… executeUpdate(------------) returns ___________ What does the following line of code do?TextField text=new TextField(10); A string object can not be modified after it is created. Which of the following command lines options generates documentation for… The break statement is required in the default case of a switch selection… In RMI we invoke client method from remote server Which of the following represent legal flow control statements? The name of the RMI compiler is ___________ The length of a string object 's1' can be obtained using the expression… Which key word can protect a class in package from accessibility by the… Which of the following statements are valid array declarations? We can add more than one class(es) at the time of compilation Java Beans. Which of the following will produce a value of 10 if x = 9.7? The programmer must explicitly create the system .in and system .out objects. Consider the following class definitions: class maths { student student1;… Which of the following are not keywords? forName() is a static factory method