I've written some Sysout lines, and I want to create an if else where the output console is cleared?
if(pass.length() < 8){
System.out.println("");
//now I would like the output terminal to be cleared
}else {
System.out.println("");
}
Prepared to answer any questions. Feel free to edit. If this is a previous answered question, please let me know, I can't seem to find anything.