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 formula to calculate percentage?
Why stringbuilder is not thread safe in java?
class A{ class B{ } } in which name u save the file,its the program compile?
If system.exit (0); is written at the end of the try block, will the finally block still execute?
Can a class be private?
What are the uses of synchronized keyword?
Discuss different types of errors that generally occur while programming.
What is java and their uses?
How do you convert an int to a string in java?
What is a Null object?
What is the function of java?
What is a website container?