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 is java api for xml-based rpc (jax-rpc)?
What is container-managed transaction?
What is j2ee stack?
Is c++ more secure than java?
What type of code is java?
What is j2ee stand for?
What are types of j2ee clients?
Why is java important for internet?
Which server is best for java?
What are the types of j2ee clients?
What are the technologies a java developer must know?
Which framework is best for java?
What does java awt stand for?
Describe action form?
What is urn?