怎么在Java控制台实现清屏

2025-03-12 08:38:10
推荐回答(1个)
回答1:

new ProcessBuilder("cmd", "/C", "cls")
.inheritIO()
.start();