Can you write Java code for declaration of multiple
inheritance in Java ?
Answer Posted / manjula
Multiple Inheritance is not allowed in java. Instead of
this, interfaces are used to implement multiple inheritance
concept.
syntax: interface interface_name
{
data & method declaration;
}
The interafaces in java always contain final fields and
abstract methods
| Is This Answer Correct ? | 11 Yes | 1 No |
Post New Answer View All Answers
For which statements does it make sense to use a label?
What modifiers may be used with an inner class that is a member of an outer class?
What are the diff types of exception?
What is in-memory replication?
What class is the top of the awt event hierarchy?
Difference between hashmap and hashtable?
What do you need to set-up a cluster with jboss?
Do you think that java should have had pointers?
What are the difference between RMI and CORBA?
What is mdb and what is the special feature of that?
why static class in java
Can I have an action without a form?
Do I need to import javlang package any time? Why ?
What do you know about seam?
Why are my checkboxes not being set from on to off?