- 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 multi-line comments
/* is used for multi-line comments.
Example
public class MyFirstJavaProgram { public static void main(String[] args) { /* This is an example of multi line comment. */ System.out.println("Hello World"); } }
- Related Articles
- How to write multi-line comments in C#?
- How do we use multi-line comments in JavaScript?
- Java single line comments.
- How to put multi-line comments inside a Python dict()?
- What is the difference between single-line and multi-line comments in JavaScript?
- How to write multi-line comment in Java?
- Java comments.
- Java documentation comments
- /** and /* in Java comments
- Types of Java comments.
- Comments in Java\n
- Executable Comments in Java
- Multi-Line printing in Python
- Multi-Line Statements in Python
- How to write single-line comments in C#?

Advertisements