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

What is return used for in java?

1016


What is object class in java?

911


Does substring create a new object?

990


What are the basic concepts of OOPS in java?

1024


What is io stream in java?

1039


How many bytes is double?

963


How do you sort arraylist in descending order?

1011


Why do we need wrapper classes?

1064


What is the use of isempty in java?

1011


When should I use a singleton?

1029


How do you replace all in word?

1055


How do you do a line break in java?

998


Can constructor return value?

950


Is space a char?

916


How do you make an arraylist empty in java?

917