protocol P1 { func aa() -> Int } protocol P2 { func aa() -> Int } class Cat : P1, P2 { func aa() -> Int { return 33 } } Cat().aa()