example1_1.java

来自「北京邮电大学牛导的 JAVA课件课件及相关资料」· Java 代码 · 共 24 行

JAVA
24
字号
import javax.swing.JOptionPane;public class Example1_1 {        public static void main(String[] args)     {        String flower;        int counter1,counter2;        counter1 = 0;        counter2 = 0;        flower = "* * * * * * * *";                System.out.println(flower);        System.out.print(" ");        System.out.println(flower);        System.out.println(flower);        System.out.print(" ");        System.out.println(flower);        System.out.println(flower);         System.out.println();                }    }

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?