• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

why java doesn,t support multiple inheritance

 
ajay verma
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
why java doesn,t support multiple inheritance and why interface supports
multiple inheritance?
kindly guide me with the proper answer!
 
Campbell Ritchie
Sheriff
Posts: 48652
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Somebody else asked the same question here recently.
 
Amod Mulay
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
read this
multiple
javaworld
 
Bill Shirley
Ranch Hand
Posts: 457
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
click the Search link at the top of the page,
type in "multiple inheritance",

(insert pleasantry, don't use curse words, insert pleasantry, don't use curse words, insert pleasantry, don't use curse words)

and have a nice day
 
Deepak Chopra
Ranch Hand
Posts: 433
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Java doesn't support multiple inheritance because of "Deadly diamond of Death", Interface does support..because we don't implement any thing inside interface..!!
you can also refer to following 10 lines article for the same :
deadly-diamond-of-death
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic