0

How make clear screen system on java

java program

22nd Apr 2018, 10:47 AM
AKRAM 4 EVER
AKRAM 4 EVER - avatar
2 Respostas
22nd Apr 2018, 10:53 AM
Tashi N
Tashi N - avatar
+ 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)
22nd Apr 2018, 12:14 PM
Schindlabua
Schindlabua - avatar