Solved

What Can Be Said About the Difference or Similarity, If

Question 1

Multiple Choice

What can be said about the difference or similarity, if any, between an infinite loop and an infinite recursion?


A) It is impossible to detect the latter while it's easy to detect the former.
B) Both continue to repeat indefinitely.
C) Both will be caught by the compiler.
D) Both will be caught by the Java Virtual Machine during execution.
E) None of these

Correct Answer:

verifed

Verified

Related Questions