Is this best practice when moving a non-static method to another class in Java?

前端 未结 0 1369
轮回少年
轮回少年 2020-11-28 22:35

Say I have a Main class with three functions, one of which is very large, and an integer value:

class Main {

  int value = 0;

  void method1() { }

  void m         


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