allelopath
asked on
multiple inheritance of interfaces
Java can't have multilple inheritance, but this case appears to contradict that.
Its different with interfaces?
Its different with interfaces?
public interface i1a extends Serializable {}
public interface i1b extends Serializable {}
public interface i2 extends i1a, i1b {}
public interface i3extends i2 {}
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
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?
Does an interface that does not extend or implement another interface have an implicit parent?
No, it's standalone
:-)
Yes. There's no limit for interfaces