Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 do you understand by actionform?

907


Is java a web technology?

955


Explain jta, jndi, and jms.

1034


What is declarative security ?

1059


What is java ee sdk?

901


Explain the four types of container that the j2ee specification defines

924


Explain connector architecture.

974


What is j2ee component?

1062


What is home interface?

1052


Is class a data type in java?

943


What is repaint in java?

890


How does j2ee application work?

995


What is jaxr provider?

933


Why primitive data types in java are not objects?

896


Is java important for my computer?

898