You need to sign in to do that
Don't have an account?
CarlB
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.
However, it isn't valid. Have I missed something or does Salesforce not allow this?
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
Best way of doing it by taking only one interface A and define every method of B inside it.
Thanks for the reply.
It does seem an odd omission by Salesforce, but at least there is a work-around.
Regards,
Carl
Indeed a very odd omission. Question is WHY? and can we place as an Idea?