• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
+ 6

Alternative way of using goto in java??

java
9th Aug 2018, 11:14 AM
Rahul Mittal
Rahul Mittal - avatar
2 Answers
0
In Java there's what is known as "civilized" form of goto by using: break label; or continue label; https://stackoverflow.com/q/2430782/10088069
10th Aug 2018, 5:26 AM
Mohammed

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
Can someone teach me a beginner code for beginner like me ? (I would be very happy if you could help)
1 Votes
job
2 Votes
Add border between list number and text
0 Votes
How to insert images into the web
1 Votes
Can i learn brojecting?!
0 Votes
An info you may not know in html
1 Votes
Are they planning to teach lua in the future?
0 Votes
Can you please introduce mql5 language here.
0 Votes
Please I need corrections incase there is an error
0 Votes
Question to Sololearn users
0 Votes