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 java util hashmap?

522


If a class is declared without any access modifiers, where may the class be accessed in java programming?

663


What is instance example?

527


Is boolean a data type in java?

523


How do you remove all elements from an arraylist in java?

508






What invokes a thread's run() method in java programming?

571


What are the four versions of java?

552


Can we cast any other type to boolean type with type casting?

543


What are keywords give examples?

585


Is it possible to compare various strings with the help of == operator?

550


Does the order of public and static declaration matter in main method?

621


Are functions objects in java?

549


How to convert string to byte array and vice versa?

588


Explain static nested classes ?

599


What is console based application in java?

548