Can someone dry run and explain me this code? having problem to understand recursion program.
public class Multiplication {
public static void main(String[] args)
{
System.out.println("Answer:"+Mult(2,3));
}
public static int Mult(int x,int y)
{
if (y==1)
return x;
else
return x + Mult(x,y-1);
}
}