Annotation access modifier - public vs abstract

前端 未结 5 656
夕颜
夕颜 2021-01-23 13:08

What is the difference between public and abstract modifier for an elements of annotation in Java.

For example we coul

5条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-23 13:17

    There is no impact - it's just a redundant declaration. Same with interface's methods, for instance.

提交回复
热议问题