+ 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

10th Jun 2017, 8:51 PM
Daniel Leonard
Daniel Leonard - avatar
1 Réponse
+ 3
You can use multiple interfaces using 'implemdnts' public class ChatClient implements FacebookInterface, InstagramInterface { private FacebookInterface fi; private InstagramInterface ii; }
10th Jun 2017, 9:06 PM
⏩▶Clau◀⏪
⏩▶Clau◀⏪ - avatar