become who you want to be zhangsan-plus.|

张三Blog

园龄:3年4个月粉丝:3关注:0

用程序员的方式祝大家端午安康

祝大家端午安康

public static void main(String[] args) {
        String[]dw=new String[]{"祝","端","午","安","康"};
        System.out.print(Ansi.ansi().eraseScreen().fg(Ansi.Color.CYAN).a(dw[0]));
        System.out.print(Ansi.ansi().eraseScreen().fg(Ansi.Color.MAGENTA).a(dw[1]));
        System.out.print(Ansi.ansi().eraseScreen().fg(Ansi.Color.RED).a(dw[2]));
        System.out.print(Ansi.ansi().eraseScreen().fg(Ansi.Color.BLUE).a(dw[3]));
        System.out.print(Ansi.ansi().eraseScreen().fg(Ansi.Color.YELLOW).a(dw[4]));
    }

效果图

在这里插入图片描述

本文作者:张三Blog

本文链接:https://www.cnblogs.com/zhangsan-plus/p/16503306.html

版权声明:本作品采用知识共享署名-非商业性使用-禁止演绎 2.5 中国大陆许可协议进行许可。

posted @   张三Blog  阅读(31)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
点击右上角即可分享
微信分享提示
评论
收藏
关注
推荐
深色
回顶
收起