MCPcopy Create free account
hub / github.com/DuGuQiuBai/Java / main

Method main

day21/code/java/ForDemo2.java:17–36  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

15*/
16class ForDemo2 {
17 public static void main(String[] args) {
18 //�ڿ���̨���10��HelloWorld
19 for(int x=0; x<10; x++) {
20 System.out.println("HelloWorld");
21 }
22 System.out.println("--------------");
23
24 //��ʼ������0��ʼ
25 for(int x=1; x<=10; x++) {
26 System.out.println("HelloWorld");
27 }
28
29 for(int x=1; x<11; x++) {
30 System.out.println("HelloWorld");
31 }
32
33 for(int x=10; x>0; x--) {
34 System.out.println("HelloWorld");
35 }
36 }
37}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected