You cannot force your subclasses to unimplement an interface. Annotations can have parameters of various kinds, and they are much more flexible than the marker interfaces.
I am reading as above. I have not understood clearly .
Are marker interfaces not needed if annotations there. ?
Any links resources ideas highly appreciated. Thanks in advance