Examlex

Solved

Why Is the Following Method One Which Has Infinite Recursion

question 8

Multiple Choice

Why is the following method one which has infinite recursion? public int infiniteRecursion(int n)
{
If (n > 0) return infiniteRecursion(n) + 1;
Else return 0;
}


Definitions:

Negotiability

The characteristic of a financial instrument that allows it to be transferred or assigned from one party to another, facilitating commerce and trade.

Electronic Deposit

The transfer of funds directly into a bank account, eliminating the need for physical checks.

Certificate of Deposit

A savings certificate with a fixed maturity date and specified fixed interest rate that is issued by a bank.

Principal

A primary party to a transaction, such as the chief participant in a business or the main amount of a loan.

Related Questions