Multiple choice technology programming languages

Identify the type of the following comment: /* this method prints out all *the employee's information */ Choose an option.

  1. Doc comment

  2. In-line comment

  3. Multi-line comment

  4. none

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The comment uses the /* ... / syntax, which is the standard multi-line comment format in Java. Doc comments use /* ... */ with two asterisks, and inline comments use // for single-line comments.