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 does application client module contain?
What is entity reference?
What is javabeans component?
What is the latest technology used in java?
Define hashtable in j2ee?
What are j2ee components?
i want test pattern of zylog company and some examples also
What is java 2 platform, standard edition (j2se)?
What is j2ee application?
What is multi tier architecture in j2ee?
Why java is called robust and secure?
What is application client container?
What is the use of jit compiler in java?
How many types of component events are in java?
Is java a web technology?