顺序结构

1 public class Demo1 {
2     public static void main(String[] args) {
3         System.out.println(1);
4         System.out.println(2);
5         System.out.println(3);
6         System.out.println(4);
7         System.out.println(5);
8     }
9 }

执行结果:

posted @ 2020-12-26 23:49  Eleanor123  阅读(41)  评论(0编辑  收藏  举报