Java main 方法 2019-08-06 本文已影响0人 SteVenLiuyong main是一个典型的静态方法,main不对对象进行操作; 我们可以方便的使用main在本地进行class的单元测试