15 lines
206 B
Java
15 lines
206 B
Java
import java.lang.Integer;
|
|
|
|
class Faculty {
|
|
|
|
Integer mul(Integer x, Integer y) {
|
|
return x;
|
|
}
|
|
|
|
m () {
|
|
var fact = (Integer x) -> {
|
|
return mul(x, fact.apply(x));
|
|
};
|
|
return fact;
|
|
}
|
|
} |