Trace the execution of the method call mystery(181245) and state the value of result. No marks will
Trace the execution of the method call mystery(181245) and state the value of result. No marks will be awarded for just stating the final value.
public class Client { public static void main (String [] args) mystery (181245) int result }//end of main method public static int mystery(int n) { 0) if (n == return 0; mystery (n/10); int r = if (n % 2 0) % 2 return } else return r } } } /end of Client class