mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 09:39:37 +07:00
- update language levels partially - fix tests (cherry picked from commit 8d7b599772eda8dfd999bee9f816ec2609be4adb) (cherry picked from commit 98a507ba78b8fc496651b5800fc3936c9c87b689) IJ-MR-169535 GitOrigin-RevId: 898e8b4dfc303eb60da6cfff5d756304c461c424
17 lines
325 B
Java
17 lines
325 B
Java
class Main {
|
|
interface MyCall {
|
|
void call(int n);
|
|
}
|
|
interface MyCallRet {
|
|
int call(int n);
|
|
}
|
|
public static void caller(MyCall c) {
|
|
c.call(2);
|
|
}
|
|
public static void caller(MyCallRet c) {
|
|
c.call(3);
|
|
}
|
|
public static void main() {
|
|
caller( (int n) -> { System.out.println(" " + n); } );
|
|
}
|
|
} |