Consider that class classA, abstract class classB, and
final classC have been defined.Which one of the following
is correct?
1. classA extends classC implements classB
2. class A extends classB, classC
3. classA extends classB
4. classB implements classC

Answer Posted / manikandan [ gtec,vellore ].

answer is 3) classA extends classB

Explanation:

Final Class Can't b extend with any other class but we can
instantiated.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between JDBC 1.0 and JDBC 2.0?

2705


How do you create a bulleted list?

561


Can we store variables in local blocks?

782


Explain about arraylist?

571


Can final class have constructor?

497






What are the differences between stringbuffer and stringbuilder?

536


What is formatted output in java?

497


What is slash r?

539


What is boolean query?

524


Why do I need to declare the type of a variable in java?

562


Can you call one constructor from another if a class has multiple constructors?

583


Write a code to create a trigger to call a stored procedure

530


What are sets in java?

500


What is the size of int in 64-bit jvm?

547


Explain reverse a linked list iterative solution in java?

496