+ 3
What is documentation in comments
6 ответов
+ 3
Am asking same question
+ 1
All About JUMP_LINK__&&__Python__&&__JUMP_LINK I think he is talking about Java, because Java is the only tutorial he has in his profile.
+ 1
Javadoc is a tool which comes with JDK and it is used for generating Javacode documentation in HTML format from Java source code, which requiresdocumentation in a predefined format. Following is a simple example where the lines inside /*….*/ are Java multi-line comments
*/Same doubt but cleared through comments/*
The purpose is to have external access, without having to scroll through a million lines of code to find comments. Imagine having a manual to your car as opposed to having all relevant info written on car parts instead of a book. Or a book having an index and a book that doesn't.
0
#include <stdio.h>
/* A simple C program
* Version 1.0
*/
int main() {
/* Output a string */
printf("Hello World!");
return 0;
}
- 1
Documents are defined as long multi-line programs
which usually tells the user what's the program is all about..... 😉