How to achieve multiple inheretence in java.I need an
example. how we achieve.
Answer Posted / sk.bilal ahmed
muliple inheritance is done with the help of interfaces
Multiple Inheritance
Class C extends A implements B
eg.,
package com.ack.learning;
import java.io.Serializable;
import java.rmi.Remote;
import java.util.Vector;
public class MultipleInheritance extends Vector
implements Remote, Serializable
{
public static void main( String[] args )
{
}
}
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What do you understand by actionform?
Is java a web technology?
Explain jta, jndi, and jms.
What is declarative security ?
What is java ee sdk?
Explain the four types of container that the j2ee specification defines
Explain connector architecture.
What is j2ee component?
What is home interface?
Is class a data type in java?
What is repaint in java?
How does j2ee application work?
What is jaxr provider?
Why primitive data types in java are not objects?
Is java important for my computer?