Assuming no class variables are involved, what are the advantages of using a private static method over a private method in Java

前端 未结 0 2011
盖世英雄少女心
盖世英雄少女心 2021-01-21 15:51

One advantage which I could think of was to prevent accidental update to a class variable in future enhancements. I would like to know if there are any other ad

相关标签:
回答
  • 消灭零回复
提交回复
热议问题