Can Java comments be seen by decompiling?

前端 未结 4 1967
再見小時候
再見小時候 2021-01-19 07:33

I was wondering if I put comments in my code and when someone tried to decompile it, if they could read the comments that I put?

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-19 08:33

    No, comments are never included as part of the compilation process. They are typically removed in some sort of pre-processing, or first-pass stage.

提交回复
热议问题