0
How make clear screen system on java
java program
2 Respostas
+ 4
Please use the search feature on the Q&A before posting:
https://www.sololearn.com/discuss/303001/?ref=app
https://www.sololearn.com/discuss/1181222/?ref=app
+ 1
The only really platform-independent way to do it, and one which doesn't use escape sequences or call system commands:
for(int i = 0; i < 100; i++)
System.out.println("");
(or better yet, make a string containing 100 newline characters and print it once)