java - Multiple inheritance while we have Object class -


this question has answer here:

multiple inheritance not allowed in java class create has parent class "object". when extend other class, thats multiple inheritance. n't it?? bit confusing.any body can explain please?

multiple inheritance means 1 class has multiple direct parent classes inherits from. long 1 class has 1 direct parent class inherits from, not multiple inheritance.

multiple inheritance:

c ---> b   |   |--> 

single inheritance:

c ---> b ---> 

Comments

Popular posts from this blog

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -