+ 2
Is there any fuction as "clear screen'' of c++ in java?
I want the outputs after removing the input.?
8 ответов
+ 51
If there exist no function, you can develop it. 😉
+ 47
have a look at
https://stackoverflow.com/questions/2979383/java-clear-the-console
you can use
Runtime.getRuntime().exec("cls");
+ 46
I have never used it and need to search it on the internet, so try it by your own.
Keywords are:
Java
console
clear
function
+ 11
Have a look at the following code where you can find a description:
https://code.sololearn.com/cb2JuIFJ0r2R/?ref=app
+ 4
system("clrscr") in windows
system("clear") in linux.
+ 3
it works only for c++. I want such function in java.
+ 1
help me my friend
0
cls function windows defined and can't run through java platform.
pls any other result.