How to quote “*/” in JavaDocs

前端 未结 6 1792
甜味超标
甜味超标 2020-11-30 09:23

I have a need to include */ in my JavaDoc comment. The problem is that this is also the same sequence for closing a comment. What the proper way to quote/escape

6条回答
  •  夕颜
    夕颜 (楼主)
    2020-11-30 10:21

    Use the entity

    */ 
    

    In your documentation it will show up as a "*/"

提交回复
热议问题