Solved

Describe the Difference(s) Between the Following Two Sets of Code

Question 45

Essay

Describe the difference(s) between the following two sets of code, neither of which reaches a terminating condition.
public void forever1( )
{
while (True);
}
public void forever2( )
{
forever2( );
}

Correct Answer:

verifed

Verified

The method forever1 is iterative and so,...

View Answer

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions