Avatar of allelopath
allelopath
 asked on

multiple inheritance of interfaces

Java can't have multilple inheritance, but this case appears to contradict that.
Its different with interfaces?



public interface  i1a extends Serializable {}
 
public interface  i1b extends Serializable {}
 
public interface i2 extends i1a, i1b {}
 
public interface i3extends i2 {}

Open in new window

Java

Avatar of undefined
Last Comment
CEHJ

8/22/2022 - Mon
CEHJ

>>Its different with interfaces?

Yes. There's no limit for interfaces
ASKER CERTIFIED SOLUTION
CEHJ

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
allelopath

ASKER
A class that does not explicitly extend a class implicitly extends Object.
Does an interface that does not extend or implement another interface have an implicit parent?
CEHJ

No, it's standalone
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
CEHJ

:-)