I am asking regarding this post: How to Clear Console: Java
The accepted answer is for clearing the console in Java is:
Runtime.getRuntime().exec("cls");
However, the poster mentioned that this code will be "system dependent". What does the poster mean by this?
(my rep does not allow me to comment on the post).