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

Why primitive data types in java are not objects?

871


Why java is called portable language?

895


What are the main components of multi-tier architecture?

905


How do I become an expert in java?

954


What is full form of j2ee?

996


What is meant by applet in java?

1054


What is mean by j2ee?

847


Is eclipse written in java?

930


Which java ide is best?

897


What is application client?

976


What is callback methods Component methods called by the container to notify the component of important events in its life cycle?

937


What are the components of j2ee applications?

1062


What is container-managed transaction?

1032


What is java technology stack?

875


What is container-managed sign-on?

968