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


Please Help Members By Posting Answers For Below Questions

What is java api for xml-based rpc (jax-rpc)?

698


What is container-managed transaction?

746


What is j2ee stack?

675


Is c++ more secure than java?

677


What type of code is java?

685


What is j2ee stand for?

657


What are types of j2ee clients?

699


Why is java important for internet?

635


Which server is best for java?

650


What are the types of j2ee clients?

683


What are the technologies a java developer must know?

651


Which framework is best for java?

681


What does java awt stand for?

728


Describe action form?

711


What is urn?

681