How do Java method annotations work in conjunction with method overriding?

后端 未结 4 1390
清酒与你
清酒与你 2020-11-28 06:39

I have a parent class Parent and a child class Child, defined thus:

class Parent {
    @MyAnnotation("hello")
    void foo         


        
4条回答
提交回复
热议问题