In Java, C, and C++ we have the following jump statements:
return. In C#, there is also
I'm not really familiar with either of these languages. This is simply what I have read on the web.
All these jump statements are unconditional. I tried to find mention about conditional jump statements, but all links lead to Assembly.
Is it correct to say that conditional jump statements exist in Assembly only?
Regarding comments to this question:
switch ... caseare not conditional jump statements? Why do you think these aren't? – πάντα ῥεῖ
@πάνταῥεῖ - As I see it,
break etc. are control flow statements. Jump statements are a subset of them. And please note that neither Microsoft, nor QT, nor any another documentation treat
if as a jump statement.
The difference between control flow statements and jump statements, as I see it, is described here: https://www.inf.unibz.it/~calvanese/teaching/06-07-ip/lecture-notes/uni06/node45.html