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 formula to calculate percentage?

0 Answers  


Why stringbuilder is not thread safe in java?

0 Answers  


class A{ class B{ } } in which name u save the file,its the program compile?

6 Answers   HCL,


If system.exit (0); is written at the end of the try block, will the finally block still execute?

0 Answers  


Can a class be private?

0 Answers  


What are the uses of synchronized keyword?

0 Answers  


Discuss different types of errors that generally occur while programming.

0 Answers   Amdocs,


What is java and their uses?

0 Answers  


How do you convert an int to a string in java?

0 Answers  


What is a Null object?

1 Answers   Wipro,


What is the function of java?

0 Answers  


What is a website container?

0 Answers  


Categories