+ 3

What is documentation in comments

9th Aug 2019, 7:37 PM
Anand Bhere
Anand Bhere - avatar
5 Answers
+ 3
Am asking same question
21st Aug 2019, 10:07 PM
Henry - avatar
+ 1
All About Python I think he is talking about Java, because Java is the only tutorial he has in his profile.
9th Aug 2019, 8:53 PM
Seb TheS
Seb TheS - avatar
+ 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.
28th Aug 2019, 6:35 AM
Maheedhar Vegesana
Maheedhar Vegesana - avatar
#include <stdio.h> /* A simple C program * Version 1.0 */ int main() { /* Output a string */ printf("Hello World!"); return 0; }
21st Aug 2019, 12:25 PM
Vikas Nishas
Vikas Nishas - avatar
- 1
Documents are defined as long multi-line programs which usually tells the user what's the program is all about..... 😉
10th Aug 2019, 1:17 AM
Aditya - avatar