Find the right child-class during iteration of father-class Generics/Java/OOP

前端 未结 0 1934
忘了有多久
忘了有多久 2020-12-20 18:06

I think explaining my question via code is easier.

Given a sales company which has 2 sales employee for example:

public class Employee()
{
private int          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题