我的错误:
输入成了中文的标点(一个中文的;差点要了我的命
System.out.println写成了小写s
在定义class的时候一般是public但具体问题具体分析
System.out.println自带换行 用System.out.print就不会换行
换行–》System.out.print("\n");
我的错误:
输入成了中文的标点(一个中文的;差点要了我的命
System.out.println写成了小写s
在定义class的时候一般是public但具体问题具体分析
System.out.println自带换行 用System.out.print就不会换行
换行–》System.out.print("\n");