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