Can you write Java code for declaration of multiple
inheritance in Java ?
Answer Posted / raghu
Hi yes multiple inheritance is possible in Java through
interface.
class A extends B implements interface 1....n
interface a extends interface b.... n.
| Is This Answer Correct ? | 15 Yes | 2 No |
Post New Answer View All Answers
Is a class a subclass of itself?
Explain what is synchronization?
Define aop(assepct oriented programing)?
What are the different approaches to represent an inheritance hierarchy?
Do we need to override service() method
Are we allowed to change the transaction isolation property in middle of a transaction?
what is handle?
When a thread blocks on i/o, what state does it enter?
What is local interface. How values will be passed?
What are the services in RMI ?
What is chat area? Explain.
difference between ejb,struts,hibernate,spring and jsp
What is prototype?
What is the purpose of the notify() method?
Describe, in general, how java's garbage collector works?