Do multiple import statements in a program affect performance?

后端 未结 4 2029
鱼传尺愫
鱼传尺愫 2021-02-14 14:51

I heard that using multiple import statements in a program affects its runtime performance. Is this true? If so, why?

4条回答
  •  说谎
    说谎 (楼主)
    2021-02-14 15:25

    If you use IDE's like Netbeans it can mark out duplicate imports in the editor, that way you can remove it from code to make it more maintainable and also reduce compiler warnings.

提交回复
热议问题