JavaTXCompilerInJavaTX/resources/javFiles/Faculty.jav

16 lines
220 B
Plaintext
Raw Permalink Normal View History

2018-01-31 15:15:07 +00:00
import java.lang.Integer;
2017-06-26 14:59:10 +00:00
class Faculty {
//fact;
Integer mul(Integer x, Integer y) {
2017-06-28 15:20:26 +00:00
return x;
}
m () {
var fact = (Integer x) -> {
2017-06-28 15:20:26 +00:00
return mul(x, fact.apply(x));
2017-06-26 14:59:10 +00:00
};
return fact;
}
}