24 lines
335 B
Java
Executable File
24 lines
335 B
Java
Executable File
//package LampdaExpressions;
|
|
|
|
import java.util.concurrent.Callable;
|
|
|
|
public class general extends Menge<Menge<Integer>> {
|
|
|
|
|
|
|
|
public String test(String c) throws Exception {
|
|
Callable<String> halloLambda;
|
|
a;
|
|
a = () -> {return "hallo";};
|
|
a = a + 1;
|
|
return a.call();
|
|
}
|
|
|
|
|
|
|
|
public String test2(){
|
|
return "hallo";
|
|
}
|
|
|
|
}
|