就是在主函数里先写方法名,然后在alt+enter自动生成方法,但是是private的,如何设置默认为public?
楼主解决了吗?我今天突然也变成了private
https://blog.csdn.net/weixin_30466953/article/details/95689415