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 does application client module contain?

1057


What is entity reference?

1080


What is javabeans component?

1017


What is the latest technology used in java?

1090


Define hashtable in j2ee?

1040


What are j2ee components?

935


i want test pattern of zylog company and some examples also

2821


What is java 2 platform, standard edition (j2se)?

1078


What is j2ee application?

1014


What is multi tier architecture in j2ee?

964


Why java is called robust and secure?

1067


What is application client container?

1014


What is the use of jit compiler in java?

934


How many types of component events are in java?

1107


Is java a web technology?

1003