How many types of Inheritances does Java support ?

#3
java supports all of inheritances available today
some them through directly with help of classes siimple, multileve.
some them through indirectly with help of interfaces such as multiple,


above data is only to best of my knowledge
 
#4
There are five types of inheritances existing. 1.single level 2.multi level
3.multiple 4.hybrid 5.hierarchal



Java supports 1,2,5 using extends classess

where as 3 and 4 can be used through interfaces
 
#5
Yes, Ok but,

Basically there are two types of Inheritances are there, they are

1. Single Inheritance
2. Multiple Inheritance

And some other Inheritances are there those are

- Multi Level
- Hierarchical
- Hybrid

- But these come under again Basic Inheritances Single and Multiple only. So we can leave these types, and we can say only two types that is Single and Multiple Inheritances.

- And Java support only Single Inheritance only.
 
#6
If Hr ask "How many types of Inheritances does Java support?"

can i reply,Java supports only single inheritance.If that is right(single inheritance) way of answer mean tell me the explantion.
 
#7
Types of bequest in java. On the base of class, there can be three types of bequest in java: single, multilevel and hierarchical. In java programming, assorted and amalgam bequest is accurate through interface only.
 
Top