mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
test++
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
class Test {
|
||||
public int m(int a, int b) {
|
||||
return m(a, b, 0);
|
||||
}
|
||||
|
||||
public int m(int a, int b, int anObject) {
|
||||
if(a > b) {
|
||||
return anObject;
|
||||
}
|
||||
else {
|
||||
return anObject;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class Test1 {
|
||||
Test t;
|
||||
|
||||
public int n(int v) {
|
||||
return t.m(v, 1);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user