0
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?
3 ответов
+ 1
0
I finally did it with code below:
new ProcessBuilder.("cmd","/c","cls").inheritIO().start().waitFor();