16.7k views
5 votes
Program ___________________ are written explanations that are not part of the program logic but that serve as documentation for readers of the program.

User Hmlasnk
by
3.7k points

1 Answer

1 vote

Answer:

Program Comments

Step-by-step explanation:

program comments are explanations. They are not executable code and the can actually appear anywhere in your code. Their main function is code documentation for the future. In Java programming language for example three types of comments is used. These are

// Single line comments (This starts with two forward slashes

/* Multiple Line

comment

Style*/

The third is the javadoc that gives a description of a function. I looks like the multiple line but is has two asterics

/** This is javadoc

comment

style*/

User Trisha
by
4.1k points