clear console in Java
Camilo_ReneRen1 (0)

Can anybody help me to clear console in a Java program at

You are viewing a single comment. View All
CSharpIsGud (41)

Try outputting this \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n

It does not really clear the console but you wont be able to see any text that was there before you outputted them

PYer (2386)

@CSharpIsGud Yeah, I do that to with python. But a shorter way would be to do "\n"*100 :)