0

5th Question

" Documentation comments generate external documentation of your source code " Please explain me this statement that what actually this comment does!! And what's the use of it!!

26th Aug 2020, 1:38 AM
I M J
I M J - avatar
4 Respuestas
+ 2
If you format source code comments in a specific way, then an external application can scan the source code and locate those comments. It can automatically extract and present them as external documentation. That saves you time from writing the external documents yourself.
26th Aug 2020, 2:01 AM
Brian
Brian - avatar
+ 1
no, you need the source code to create the documentation and not all comments are processed into the documentation, only / ** * text * / java bytecode itself is not very secure, although there are tools that can improve it
26th Aug 2020, 7:36 AM
zemiak
0
then javadoc tool can generate html pages with informations about methods and fields in your code https://www.oracle.com/technical-resources/articles/java/javadoc-tool.html example of documentation page https://docs.oracle.com/en/java/javase/14/docs/api/java.base/java/lang/String.html
26th Aug 2020, 3:20 AM
zemiak
0
blackwinter Brian zemiak Does that mean my code is insecure!! It can easily be seen by others ....🤔 Even the comments in the program!! My code can be copied 💀😶
26th Aug 2020, 5:13 AM
I M J
I M J - avatar