The following recursive method has been created. This method accepts two integer parameters called a and b respectively.
Assume that thename of the method is mand the code in the recursive method is:
if ( a > b ) return; if(a % 10 == 3) System.out.print(a+ " "); m(a+1, b);<---- recursive="">----> }
what would be the output with the following call m(1,50) where a is 1 and b is 50
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here