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 a java application client?
What is form-based authentication?
What are web technologies in java?
What is webservices in java?
What is a gui in java?
What are the four types of J2EE modules?
What is multi tier architecture in j2ee?
Which edition of java is used for developing web application?
What is j2ee application model?
What is a component in java?
Which is best eclipse for java?
Difference between load and get method?
What is the difference between java and j2ee?
What is java secure socket extension (jsse)?
What are the topics in j2ee?