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.
|Which is the latest version of Apache Tomcatl||3||35|
|best (free) software to access postgres db (java)||1||18|
|Why method in Java which is called from Runnable run() doesn't need to be 'static'?||1||8|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
10 Experts available now in Live!