15 lines
180 B
Java
15 lines
180 B
Java
import java.lang.Integer;
|
|
|
|
class LamAssign {
|
|
|
|
m () {
|
|
var lam1 = (Integer x) -> {
|
|
return x;
|
|
};
|
|
return lam1;
|
|
}
|
|
}
|
|
|
|
interface Fun1<A,B>{
|
|
public A apply(B b);
|
|
} |