Hi, I am John and pursuing graduate, my question is why Java or oops language does not use multiple inheritance? This is nightmare for me. My exam is coming soon. Please provide me a good answer
johnalexa 0
Online programming assignment help service
Recommended Answers
Jump to PostNot quite true any more. SInce the introduction of lambdas Java has "default methods" in interfaces, which are inherited by any class that implements the interface. And yes, because you can implement multiple interfaces, this leads to exactly the same diamond problem as multiple inheritance from classes. There are new …
All 4 Replies
JamesCherrill 4,733
Most Valuable Poster Team Colleague Featured Poster
rproffitt
commented:
That's what I thought. Then again they tagged the discussion with asp.net and left out Java version in use. I have a legacy app on (gasp) 1.8. +15
anand9796 -3
Light Poster Banned
JamesCherrill 4,733
Most Valuable Poster Team Colleague Featured Poster
Deep986 0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.