When resolving a class super classes the interfaces are not included at the end but in the order of declaration, so priorities can be taken into account