File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Need to know some thing about inheritance." Watch "Need to know some thing about inheritance." New topic

Need to know some thing about inheritance.


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: 418
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.
Don't get me started about those stupid light bulbs.
subject: Need to know some thing about inheritance.
Similar Threads
Anonymous Subclasses
Eclipse / Web Tools Project / Design view
Does a connection pool has security settings in Weblogic 7 ?
JSF hurts my head...
JSF hurts my head...