Question: Consider the JAVA function given below.statac int dosomething ( int j ) 1 int 1 = 5 0 ;int k; 1 ( 1 = 5
Consider the JAVA function given below.statac int dosomething int jint ;int k;k dosomething;return ;else return ;Which one of the following is TRUE? A The function returns for all values of j B The function will exhaust the runtime stack or run into an infinite loop when j O C The function returns when i D The function prints the string something for all values of j
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
