+ 2
How does a class implements multiple interfaces? (example)
Could you give an example, cause I'm not understanding how to implement multiple interfaces in a class
1 ответ
+ 3
You can use multiple interfaces using 'implemdnts'
public class ChatClient implements FacebookInterface, InstagramInterface {
private FacebookInterface fi;
private InstagramInterface ii;
}