Autowired bean based on annotation value type

前端 未结 0 1899
抹茶落季
抹茶落季 2021-02-03 16:30

I have the following classes:

public abstract class Animal {
    public abstract void call();
}

public class Dog extends Animal {
    @Override
    public void c         


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