wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes Need to know some thing about inheritance. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Need to know some thing about inheritance." Watch "Need to know some thing about inheritance." New topic
Author

Need to know some thing about inheritance.

ajay_kumar_rana
Greenhorn

Joined: Feb 03, 2008
Posts: 6
I want to know why one class cannot inherit from more than one classes?
Sunny Jain
Ranch Hand

Joined: Jul 23, 2007
Posts: 433

Because of Deadly diamond of Death, read the below forum:
Deadly diamond of Death

Some more queries that might be useful to you:

implements Vs extends


Thanks and Regards,
SCJP 1.5 (90%), SCWCD 1.5 (85%), The Jovial Java, java.util.concurrent tutorial
Raj Kumar Bindal
Ranch Hand

Joined: Apr 15, 2006
Posts: 417
When a class implements 2 interfaces,in that case also problem of ambiguous data comes.So,how does interfaces help us to achieve multiple inheritance completely.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need to know some thing about inheritance.
 
Similar Threads
Anonymous Subclasses
JSF hurts my head...
Eclipse / Web Tools Project / Design view
JSF hurts my head...
Does a connection pool has security settings in Weblogic 7 ?