What is the correct answer?


A class may be both abstract and final.

A. True

B. False

Correct Answer :

B. False

Related Questions

In RMI we invoke client method from remote server Frames and applets cannot be used together in the same program. Give file is a file object, which of the following are legal statements… The break statement is required in the default case of a switch selection… Which of the following keywords are used to control access to a class… Which of the following are not keywords? Which of the following methods can be used to draw the outline of a square? Java is fully object oriented programme. Which of the following methods can be used to remove a component from… The name of a Java program file must match the name of the class with… The setBackground() method is part of the class JSP files creates ________________ Which of the following will produce a value of 10 if x = 9.7? Message-Driven beans act as a listener for the Java Message Service API,… A method declared as static can not access non-static class members. Consider the following class definitions: class maths { student student1;… Consider the following statements: int x = 10, y = 15; x = ((x < y)… Every method of a final in class is implicitly final. Declarations can appear anywhere in the body of a Java method. Which of the following control expressions are valid for an if statement? All methods in an abstract class must be declared abstract. DataInput is If m and n are int type variables, what will be the result of the expression'm… Any method in a supper class can be over ridden in its subclass. An EJB is a server-side component that encapsulates the business logic… A variable declared inside the for loop control can not be referenced… DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend… Which are the valid ways to create DataInputStream streams? Which of the following statements are valid array declarations? Given the codeString s = new String("abc");Which of the following calls…