How many types of comments are there in java programming?


Prachi G.

Comments In Computer Programming Languages

In Java, there are three types of comments used in any type of computer programming, scripting, and query languages like .NET, JAVA, Python, SQL, Oracle, or other programming languages.

Types of Comments In Java Programming

The types of comments are mentioned in this list

  1. Single-line comments.  
  2. Multi-line comments.
  3. Documentation Comment

Any type of comment is used to ignore the written code by the compiler in runtime which code is commented on the page in the back end of the front end.

2 votes



Hey Guys! I'm Rob Here

Three types of comments are used in the Java programming language Single Line Comments, Multiline Comments, and Documentation Comments. Actually, all types of comments are used for a single purpose i.e. to ignore lines of code in different situations that shit.

0 votes

Your Answer

Email Us:

Donate Us: Support to GDATAMART

LifeStyle & Fun

© 2024 GDATAMART.COM (All Rights Reserved)