How many types of comments are there in java programming?

Asked: Ellyse

P

Prachi G.

Comments In Computer Programming Languages

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


Types of Comments In Java Programming

The type of comments are mentioned in this list:

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

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

2 votes

R

Rob

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: advertise@gdatamart.com

Donate Us: Support to GDATAMART

© 2023 GDATAMART.COM (All Rights Reserved)