I\'m new into JAVA and I\'m not sure how to break a the DO WHILE loop that I use in my code below? I thought I could enter -1 to break or all other numbers to continue the l
You can use break:
break
while (true) { ... if ("-1".equals(value)) { break; } ... }