Browse Source

上传文件至 ''

1707040132 6 years ago
parent
commit
5ec17c0f99
1 changed files with 19 additions and 0 deletions
  1. 19 0
      BreakpointDemo.java

+ 19 - 0
BreakpointDemo.java

@@ -0,0 +1,19 @@
+package asdad;
+
+public class BreakpointDemo{
+	public static void main(String[] arg){
+		int sum=0;
+		int k=0;
+		System.out.println("Hello,Breakpoint!");
+		while(sum<40000){
+			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);
+			}
+		}
+	}