14 lines
147 B
Java
14 lines
147 B
Java
class LamAssign {
|
|
|
|
m () {
|
|
var lam1 = (Integer x) -> {
|
|
return x;
|
|
};
|
|
return lam1;
|
|
}
|
|
}
|
|
|
|
interface Fun1<A,B>{
|
|
A apply(B b);
|
|
}
|