In java, there is a function to clear console and not a command ,like in C++ there is a command :
system("CLS");
In java, there is a function :
public static void clearScreen() {
System.out.print("\033[H\033[2J");
System.out.flush();
}
Log in to ask questions about C++ (Programming Language) publicly or anonymously.
In java, there is a function to clear console and not a command ,like in C++ there is a command :
system("CLS");
In java, there is a function :
public static void clearScreen() {
System.out.print("\033[H\033[2J");
System.out.flush();
}
In java, there is a function to clear console and not a command ,like in C++ there is a command :
system("CLS");
In java, there is a function :
public static void clearScreen() {
System.out.print("\033[H\033[2J");
System.out.flush();
}