mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
18 lines
277 B
Java
18 lines
277 B
Java
class Test {
|
|
public int m(int a, int anObject, int... values) {
|
|
if(a > values.length) {
|
|
return anObject;
|
|
}
|
|
else {
|
|
return anObject;
|
|
}
|
|
}
|
|
}
|
|
|
|
class Test1 {
|
|
Test t;
|
|
|
|
public int n(int v) {
|
|
return t.m(v, 0, 1);
|
|
}
|
|
} |