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.

30th Sep 2021, 9:57 PM
Mohamed Mamdouh
Mohamed Mamdouh - avatar
2 odpowiedzi
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")
30th Sep 2021, 11:55 PM
Aleksei Radchenkov
Aleksei Radchenkov - avatar