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
Answer Posted / 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 View All Answers
What is a jit compiler?
What is the inheritance?
Tell some latest versions in JAVA related areas?
What is dynamic binding(late binding)?
Implementations of set interface?
What is the history of java?
Why webdriver is an interface?
Which oo concept is achieved by using overloading and overriding?
What is native method in java?
What's the difference between comparison done by equals method and == operator?
What comes to mind when someone mentions a shallow copy in java?
We are seeing so many videos/audios as many web sited. But question is these videos or audios are stored in Databases ( Oracle, Mysql, Sybase,... ) or stored any file directory from there they will give the link for that? Pls explain and give sample code to achieve this one? Thanks, Seenu.
What are dot operator queries?
What is the arraylist in java?
What are the different types of constructor?