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
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 |
Explain illegalmonitorstateexception and when it will be thrown?
Can you explain the final method modifier?
Can we use synchronized block for primitives?
What is %02d?
What are different types of control structures?
What is getclass () getname () in java?
What is the difference between heap memory and stack memory?
What is garbage collection in Java, and how can it be used ?
32 Answers Accenture, HCL, Infosys, Sara, SITS, TCS, Wipro,
Is array primitive data type in java?
What does opcode mean?
Explain numeric promotion?
What does this() represent, and how is it used in Java?