Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis0
How to clean console in java
you know that, in C and C++ languages in windows, we can use this code to clean the console : system("cls"); but how about in java? is there any method for it? or is there any way to clean the console?
2 Respostas
+ 1
https://stackoverflow.com/questions/2979383/java-clear-the-console Hope it helpsāŗ
0
I finally did it with code below:
new ProcessBuilder.("cmd","/c","cls").inheritIO().start().waitFor();