+ 6

How to clean output screen in java

(in C/C++ we use clrscr(); or system ("cls"); please reply me

20th Jan 2018, 3:40 PM
Ramshek Rana
Ramshek Rana - avatar
2 odpowiedzi
+ 9
Runtime.getRuntime().exec("cls"); //or System.out.print("\033[H\033[2J"); System.out.flush();
20th Jan 2018, 4:06 PM
MR Programmer
MR Programmer - avatar
+ 3
hey.. I'm using Eclipse IDE in windows 10 but your code is not working properly bro..
20th Jan 2018, 4:33 PM
Ramshek Rana
Ramshek Rana - avatar