Quizzes
Site Language: English
Українська
English
Русский
Programming Tests
Login
Sign Up
Programming Tests
Theory
Snippets
Papers
Landing
Android
Prices
FAQ
Cosmo Story
Terms and Conditions
Privacy Policy
Cookies Policy
Send Feedback
goto
:
Content language: English
Русский
What will be the result of the following program execution? public class Program { public static void main(String[] args) { int N = 5; int m[] = new int[N]; label: for (int i = 0; i < N; ++i) { m[i] = i * i; if (m[i] == 9) { System.out.print("9 "); goto label; } } } }
goto
Which of the following variable declarations are allowed in Java?
goto
← Prev
1
Next →
Sign Up Now
or
Subscribe for future quizzes