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...

Does Java support multiple Inheritance?

Answer Posted / tewodros tesema

yes.actually java suports multiple inheritance
example:
class A{
int a=10;
}
class b extends A{
int b=3;
}
clss c extends b{
int c=a+b;
system.out("result"+c);
}
here calss b in herits a and clas c in herits b the it also
in herits a through b. also since java uses interfaces it
also suports multiple inheritance.

Is This Answer Correct ?    2 Yes 29 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is heap stored in ram?

964


What is queue in java?

1154


what is the purpose of using rmisecuritymanager in rmi?

972


If you are given the name of the function at run time how will you invoke the function?

1134


What variables are stored in stack?

976


Considering notepad/ie or any other thing as process, what will happen if you start notepad or ie 3 times? Where 3 processes are started or 3 threads are started?

1156


What is the nested interface?

1109


What is final modifier?

1057


What a static class can contains?

1154


What is hash table in java?

1024


What is the difference between stored procedure & function?

972


What are the advantages of user defined functions?

1005


Write a program to calculate factorial in java?

1005


How to sort a collection of custom Objects in Java?

1059


Explain the difference between map and flatmap stream operation?

1269