boxed comments | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

boxed comments

hi, I was wondering what's the difference between a javadoc multi-line comment as e.g. /** a few comments */ and so called "boxed comments", where you put more than 2 asterisk symbols after and before the slashes e.g. /****** boxed comment ******/ How does it look like, and what is it used for? Does it have to be "nested" inside the standart javadoc comment?

25th Feb 2017, 11:28 AM
Тарас Яго
Тарас Яго - avatar
1 Answer
+ 1
regular box comment is 1 * /* this Is all commented out */ but if you type two, above a function or class or variable. it will create a javadoc /** *@author *@param ... *@param *@throws *@returns **/ ^^^^not all of these will be there when it auto generates only what the function has. this is just an example. hope this helps!
26th Feb 2017, 5:28 PM
Michael Szczepanski
Michael Szczepanski - avatar