Now run the program. Is the output what you expected?
然后运行该程序,输出的结果和你的预测的一样吗?
Now run the program again by going to the run menu and choosing run Last Launched.
现在,通过转到Run菜单并选择Run Last Launched来再次运行该程序。
If you run the program now, it will produce exactly the same result as before, like any proper refactoring should.
如果您现在运行这个程序,得到的结果与以前完全一样,这一点所有正确的重构都应该做到。
应用推荐