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

Answers were Sorted based on User's Feedback



Consider that class classA, abstract class classB, and final classC have been defined.Which one of..

Answer / murli

3. classA extends classB

Is This Answer Correct ?    8 Yes 0 No

Consider that class classA, abstract class classB, and final classC have been defined.Which one of..

Answer / 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

More Core Java Interview Questions

What is the difference between class & object?

0 Answers  


what ide u r using and wat version, how wil u build the project etc ?

2 Answers  


what is difference between abstract and interface? can i give real time example for the two topics?

7 Answers  


Is jdk required on each machine to run a java program?

0 Answers  


Accenture NJ mostly ask question on Collection like 1)How to sort Objcts and how treeset sort them 2)Explain mechanism of Hashcode finding in Java 3)Name some of the Sorted collection.

2 Answers   Accenture,






What is byte code and why is it important to java’s use for internet programming?

0 Answers  


Can we declare variables inside a method as Final Variables?

3 Answers  


What is java objectoutputstream?

0 Answers  


Name the methods in mouse listeners ?

4 Answers  


What are inner classes or non static nested classes in java?

0 Answers  


What is final class?

0 Answers  


In Serialization, whether you will use Static variables?

3 Answers   HCL,


Categories