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 |
What is the difference between class & object?
what ide u r using and wat version, how wil u build the project etc ?
what is difference between abstract and interface? can i give real time example for the two topics?
Is jdk required on each machine to run a java program?
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.
What is byte code and why is it important to java’s use for internet programming?
Can we declare variables inside a method as Final Variables?
What is java objectoutputstream?
Name the methods in mouse listeners ?
What are inner classes or non static nested classes in java?
What is final class?
In Serialization, whether you will use Static variables?