What is the result of the following code? public class JQ { public static void main(String[] args) { f(); } private static void f() { f(); } }
Correct Answer: It compiles, runs without issues, but never ends, because there's an endless loop.
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Java MCQ Questions