Java – does a lot of annotated code affect the size of class files?

I have a code that I no longer need

This is about 1000 lines

So I just want to know if keeping this code in my java file will affect the size of the compiled class file?

I see my class file size, but I'm not sure if it's reduced

Solution

No, delete comments before creating class files I don't know Java, but in C, this work is done by the preprocessor The preprocessor is responsible for replacing macros with replacement macros and deleting comments

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>