17 lines
208 B
Java
17 lines
208 B
Java
|
|
class Methods {
|
|
mt4(a,b,c) { return a.add(b).sub(c) ; }
|
|
|
|
mt1(a) {return a; }
|
|
|
|
mt2(a) {return a.f; }
|
|
|
|
mt3(a) {return a.add(); }
|
|
}
|
|
|
|
class Test {
|
|
f;
|
|
add(){}
|
|
add(b){}
|
|
sub(b){}
|
|
} |