Using parameter that implements multiple interfaces pre-generics

Create a third interface I3 extends I1 and I2. Then class A and B both implement I3, and the generic method accepts I3.

That’s perhaps the only way to do it.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)