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
Why primitive data types in java are not objects?
Why java is called portable language?
What are the main components of multi-tier architecture?
How do I become an expert in java?
What is full form of j2ee?
What is meant by applet in java?
What is mean by j2ee?
Is eclipse written in java?
Which java ide is best?
What is application client?
What is callback methods Component methods called by the container to notify the component of important events in its life cycle?
What are the components of j2ee applications?
What is container-managed transaction?
What is java technology stack?
What is container-managed sign-on?