Polymorphism and Interfaces in Java (can polymorphism be used to implement interfaces…why?)

后端 未结 8 2017
隐瞒了意图╮
隐瞒了意图╮ 2020-12-05 17:14

In the real world what do people use this for (to solve what types of problems)? Can I see some example code of these working together? All I can find is code about cats and

8条回答
  •  心在旅途
    2020-12-05 17:50

    Have you wondered how LINQ in .net works ? It's all about Interfaces and polymorphism.

    You need to work on projects then you will come to know about all this.

提交回复
热议问题