24 lines
337 B
Java
Executable File
24 lines
337 B
Java
Executable File
//package LampdaExpressions;
|
|
|
|
import java.util.concurrent.Callable;
|
|
|
|
public class general extends Vector<Vector<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";
|
|
}
|
|
|
|
}
|