• Post Reply Bookmark Topic Watch Topic
  • New Topic

Do java support multiple inheritance  RSS feed

 
Ram Chhabra
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Do java support multiple inheritance.

Thanks,
Ram
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No. Read Interfaces and Inheritance for an introduction to these basic concepts.
 
Ram Chhabra
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply.

I totally agree with you that java does not support multiple inheritance but got confused when read everywhere that in java multiple inheritance can be archived by interface.

Can you please put some light on that?

Thanks,
Ram
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The tutorial chapter I linked to explains all that.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!