How to clean the java console | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grátis
+ 1

How to clean the java console

Does anyone know how to clean the console in java

3rd Nov 2021, 12:38 AM
Isaac Lima
Isaac Lima - avatar
1 Resposta
+ 1
There are different ways to do this. Runtime.getRuntime().exec("cls"); Source https://stackoverflow.com/questions/2979383/how-to-clear-the-console
3rd Nov 2021, 12:52 AM
Stefanoo
Stefanoo - avatar