摘要:
A Java Exception has occurred 运行weka时报错:Java Virtual Machine Launcher: A Java Exception has occurred. 原因:jdk版本不合适,更改jdk版本即可。 若有需要,还可以选择在多个jdk版本之间来回切换: 阅读全文
摘要:
用while语句求1~100之和 public class Ex3_5 { public static void main(String[] args){ int n=1,sum=0; while(n<=100) { sum+=n; n++; } System.out.println("sum="+ 阅读全文
摘要:
九九乘法表 public class Ex3_12 { public static void main(String args[]){ System.out.println(" 九九乘法表"); for(int i=1;i<=9;i++){ for(int j=1;j<=i;j++){ System 阅读全文