Chapter 5.2 - Using Comments

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

What are the special javadoc tags?

@return and @param

What is the main purpose of using comments?

To explain and document the features of the program

What differentiates javadoc comments from block comments?

You must place a * at the beginning of every line between the marks at the beginning and end of the comment (in javadoc comments).

Which type of comments are placed between /* and */ marks?

block comments

@return

describes the method's return value in a javadoc comment

@param

describes the parameter of a method in a javadoc comment

javadoc comments

generate documentation in HTML format automatically from these comments in the source code

comments

notes in English written into the source code

Which type of comment starts with a // mark?

single line comments


Ensembles d'études connexes

Chapter 3: Job-Order Costing: Cost Flows and External Reporting

View Set

Ham Radio Extra License Exam Question Pool (2016-2020 question set)

View Set

Chapter 15 study guide, chapter 15 intro test

View Set

BIS 3233 Cybersecurity Study Questions With Accurate Answers 2023

View Set

Econ 251 (PNW) Chapter 3 Learnsmart

View Set

Definitions of Curriculum (EDFD 440)

View Set

Direct and Multichannel Marketing

View Set

Counseling Diverse Populations Unit 4

View Set