March 2018
Intermediate to advanced
500 pages
12h 40m
English
This type of comment is similar to a multiline comment. The major difference is that it is used to document code within a program. A doc comment starts with a backslash followed by two asterisk characters (/**) and ends with an asterisk followed by a backslash (*/):
/** * Adds an [item] to the queue. * @return the new size of the queue.*/fun enqueue(item: Object): Int { ... }
Read now
Unlock full access