DocBlocks are indicated by opening a comment using ___.
Correct answer
C. /**
13 views
C. /**
13 views
A DocBlock opens with /** (a slash followed by two asterisks) and closes with */. The extra asterisk is what separates a documentation block from an ordinary multi-line comment that begins with /*.
Tools such as phpDocumentor and most IDEs read DocBlocks to generate documentation and type hints, using tags like @param and @return.
Want more practice? Try the full set of Computer Science MCQs on MCQsExam.com.
Not sure why the answer is C? Ask here and get an explanation.