Eclipse:出现The selection cannot be launched,and there are no recent launches的解决方法
可能是程序 主函数的问题
解决方法:
1,检查main函数拼写是否正确
2,检查void前有无static
3,检查括号中String[] args拼写是否正确
正确写法:
public static void main(String[] args) { }public static void main(String[] args) { }
2万+

被折叠的 条评论
为什么被折叠?