I'm stuck here. plz help me.

package com.codegym.task.task02.task0217;
/*
Minimum of four numbers
*/
public class Solution {
public static int min(int a, int b, int c, int d) {
min(a,b);
if(c<=a && c<=b && c<=d)
return c;
else
return d;
}
public static int min(int a, int b) {
int c;
if(a<b)
c=a;
else
c=b;
return c;
}
public static void main(String[] args) throws Exception {
System.out.println(min(-20, -10));
System.out.println(min(-20, -10, -30, -40));
System.out.println(min(-20, -10, -30, 40));
System.out.println(min(-40, -10, -30, 40));
}
}

So, now inpublic static int min(int a, int b) { int c; if(a<b) c=a; else c=b; return c;}min(a,b,c,d)method create one variable and store the returned value of min(a,b); Now using this variable you can easily find out the minimum value as you did in previous exercise...