comments - Annotations in Java -
i wondering anotations used in java, have basic understanding of it. true question is, annotions mean when in comment? example: /** @param **/. have effect in code itself?
thank you.
i wondering anotations used in java
they used sorts of things. not possible give "exact" answer, because use-cases annotations (literally) infinite. , besides, have seen few use-cases already. (google examples, if want find more ...)
however true question is, annotions mean when in comment?
when in comments, not annotations. in case, javadoc tags ... used when generating javadoc documentation code,
for example: /** @param **/. have effect in code itself?
it has no effect on code itself. java compiler ignores in java comments. (of course, possible write compiler java-derived language pays attention stuff in comments. ain't java.)
Comments
Post a Comment