What is the correct answer?


It is an error to have a method with the same signature in both the super class and its subclass.

A. True

B. False

Correct Answer :

B. False

Related Questions

Give file is a file object, which of the following are legal statements… Which javadoc tag is used to denote a comment for methods parameters? A variable declared inside the for loop control can not be referenced… Which of the following classes are available in the java.lang package? A class may be both abstract and final. The keywords reserved but not used in the initial version of Java re: It is an error if a class with one or more abstract methods is not explicitly… If m and n are int type variables, what will be the result of the expression'm… Every method of a final in class is implicitly final. Every call to wait has a corresponding call to notify that will eventually… Message-Driven beans act as a listener for the Java Message Service API,… Which of the following statements are valid array declarations? EJBs can be of the following type(s)None of the above Which of the following command lines options generates documentation for… Consider the following class definition.Class Student extends String{}What… DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend… Servlet can have ___________ JdbcOdbcDriver is an object of Object class Given the codeString s = new String("abc");Which of the following calls… The concept of multiple inheritance is implemented in Java by Submit button always fires doPost(...) A static class method can be invoked by simply using the name of the method… A package is a collection of A final class may not have any abstract method. Which of the following are keywords? The name of a Java program file must match the name of the class with… The expression (x == y && a<b) is true If either x == y is true or… The setBackground() method is part of the class In evaluating a logical expression of type 'Boolean expression 1&& Boolean… For all insert, update, delete, query operations on a database, ResultSet…