首页 > 代码库 > 用java程序输出自己的姓名
用java程序输出自己的姓名
代码部分:
public class Hello {
public static void main(String[] args) {
System.out.println("$$$$$$$$$$$");
System.out.println(" $");
System.out.println(" $ $");
System.out.println(" $ $");
System.out.println(" $ $");
System.out.println("$ $ $");
System.out.println(" $$");
System.out.println(" ");
System.out.println(" ");
System.out.println(" $ $ ");
System.err.println(" $ $ ");
System.out.println(" $ $ $ $ ");
System.out.println(" $ $ $ $ ");
System.out.println(" $ $ ");
System.out.println(" $ $ $ $ ");
System.out.println(" $ $ $ $ ");
System.out.println(" $ $ ");
System.out.println(" $ $ $ ");
System.out.println(" $ $$$$$$$$ ");
System.out.println(" ");
System.out.println(" ");
System.out.println(" $ ");
System.out.println(" $$$$$$$$$ ");
System.out.println(" $ $ ");
System.out.println(" $$$$$$$$$$$$ ");
System.out.println(" $ $ ");
System.out.println("$$$$ $$$$$$$$$ ");
System.out.println(" $ $ ");
System.out.println(" $ $$$$$$$$$ ");
System.out.println("$ $ ");
System.out.println(" $ $$$$$$$$$ ");
System.out.println(" $ $ ");
System.out.println("$ $ $ ");
System.out.println(" $$$$$$$$$$$$$$$$$ ");
}
测试效果图:
用java程序输出自己的姓名