jQuery in Action, 2nd edition
The moose likes Beginning Java and the fly likes Need to know some thing about inheritance. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply 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: 409
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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Need to know some thing about inheritance.
 
Similar Threads
Eclipse / Web Tools Project / Design view
Does a connection pool has security settings in Weblogic 7 ?
Anonymous Subclasses
JSF hurts my head...
JSF hurts my head...