0
Clearing Output Screen in java
Can I clear last output screen in Java . For example : in C we use this code line : system("cls") . So is there any way in java.
1 Resposta
0
That's what you need.
https://www.delftstack.com/howto/java/java-clear-console/
Also if you are in Windows, you cold do:
Runtime.getRuntime().exec("cls")