You are viewing a single comment's thread. Return to all comments →
you can use a statment like if(name.equals(" ")) then break in which you can get out of the loop when you input space
Seems like cookies are disabled on this browser, please enable them to open this website
Java End-of-file
You are viewing a single comment's thread. Return to all comments →
you can use a statment like if(name.equals(" ")) then break in which you can get out of the loop when you input space