What is the difference between break and continue?

Asked 2 years ago, Updated 2 years ago, 109 views

Please tell me the difference between break and continue.

java break continue

2022-09-21 19:24

1 Answers

Break is to escape the repeat statement and continue is to go to the conditional statement and do the next iteration.


2022-09-21 19:24

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.