+ 2
how to clear the screen output in java just like we use in c and c++ system("cls");
I'm using java SE. I am using the CLI
6 Answers
+ 1
Be more specific, in your CLI? In your IDE? In a specific program you wrote?
+ 1
I use CLI
+ 1
type: clear
Hit enter
Your CLI is now clear of the screen output :)
Hope thats solves your problem
+ 1
Hopefully this post will work for you as well: https://www.reddit.com/r/java/comments/1uuvqo/clear_terminal_screen_linux/
0
I want tu use a statement in java program that will clear the output screen when that code executed