- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Java documentation comments
/** is known as documentation comments. It is used by javadoc tool while creating the documentation for the program code.
/** * This is a documentation comment. * This is my first Java program. * This will print 'Hello World' as the output * This is an example of multi-line comments. */ public class MyFirstJavaProgram { public static void main(String[] args) { System.out.println("Hello World"); } }
- Related Articles
- Java API documentation generator
- Java comments.
- /** and /* in Java comments
- Types of Java comments.
- Java single line comments.
- Java multi-line comments
- Executable Comments in Java
- Comments in Java\n
- Best practices for Java comments.
- How to get JShell documentation in Java 9?
- What are comments in Java language?
- Pattern COMMENTS field in Java with examples
- What is the difference between /* */ and /** */ comments in Java?
- How to add different comments in the Java code?
- Generating MySQL Doxygen Documentation Content

Advertisements