You need to sign in to do that
Don't have an account?

Can an interface extend multiple interfaces
Hi,
I have two interfaces, called A and B and I want to create a third interface, called C, that extends both of these, e.g.
Thanks,
Carl
I have two interfaces, called A and B and I want to create a third interface, called C, that extends both of these, e.g.
global interface C extends A, B { }However, it isn't valid. Have I missed something or does Salesforce not allow this?
Thanks,
Carl


In apex, a class can't "extend" two classes but can "extend" one class and "implement" multiple interfaces.