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 |
Do I need to import java.lang package any time? Why?
Can we override final method?
What are the traverses in Binary Tree?
How does system arraycopy work in java?
In Inheritance if we are implementing Multi level inheritance and all class having same name of variable and now i want to access each class variable and how it is possible?
What is incompatible types in java?
What is the difference between the synchronized() & static synchronized()?
What is the difference between the prefix and postfix forms of the ++ operator?
What exactly is java?
What is the hashcode () and equals () used for?
What are the different types of inner classes?
How many bytes is a char in java?