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 used for in technology?
Is string a primitive data type in java?
Why do we use j2ee?
What are the differences between Ear, Jar and War files? Under what circumstances should we use each one?
What is jaxr provider?
What is container-managed sign-on?
What are the advanced technologies in java?
What is a gui in java?
What is j2ee tutorial?
What spring is in related to j2ee?
What do you understand by actionform?
What is tomcat in j2ee?
What are the types of j2ee clients?
how to run servlet program between two computer through internet ?
What is ejb container provider?