Which of the following statements is NOT true about infinite recursion?
A. In theory, infinite recursion executes forever.
B. In reality, infinite recursion will lead to a computer running out of memory and abnormal termination of the program.
C. Methods that are indirectly recursive always lead to infinite recursion.
D. If recursive calls never lead to a base case, infinite recursion occurs.
Answer: C
You might also like to view...
Attributes of a class are also known as:
a. Constructors. b. Local variables. c. Data members. d. Classes.
Available on the Move Tool options bar, the _________________________ check box causes Photoshop to display transformation controls on the selection.
Fill in the blank(s) with the appropriate word(s).
If the primary goal of a firewall is to block unauthorized access, the emphasis needs to be on restricting rather than enabling connectivity
Answer the following statement true (T) or false (F)
The ___________________ command allows hidden fields to be redisplayed.
Fill in the blank(s) with the appropriate word(s).