sziit 6 年之前
父節點
當前提交
35dd843ab9
共有 2 個文件被更改,包括 20 次插入0 次删除
  1. 二進制
      bin/trade/demo.class
  2. 20 0
      src/trade/demo.java

二進制
bin/trade/demo.class


+ 20 - 0
src/trade/demo.java

@@ -0,0 +1,20 @@
+package trade;
+
+public class demo {
+	public static void main(String[] args) {
+		int sum = 0;
+		int k = 0;
+		System.out.println("Hello, Breakpoint!");
+		while (sum < 45000) {
+			k++;
+			for (int i = 0; i < 100; i++) {
+				sum = sum + i;
+				System.out.println("i = " + i);
+				System.out.println("sum = " + sum);
+			}
+			System.out.println("k = " + k);
+			System.out.println("sum = " + sum);
+		}
+
+	}
+}