2017-03-02 18:16:14 +01:00
|
|
|
|
|
|
|
class Methods {
|
|
|
|
mt4(a,b,c) { return a.add(b).sub(c) ; }
|
|
|
|
|
2017-05-09 20:15:42 +02:00
|
|
|
mt1(a) {return a;}
|
2017-03-02 18:16:14 +01:00
|
|
|
|
|
|
|
mt2(a) {return a.f; }
|
|
|
|
|
|
|
|
mt3(a) {return a.add(); }
|
|
|
|
}
|
|
|
|
|
2017-03-22 16:05:59 +01:00
|
|
|
class Test {
|
2017-05-19 17:40:47 +02:00
|
|
|
java.lang.Object f;
|
2017-03-22 16:05:59 +01:00
|
|
|
add(){}
|
2017-05-09 20:15:42 +02:00
|
|
|
add(b){return b;}
|
2017-03-22 16:05:59 +01:00
|
|
|
sub(b){}
|
|
|
|
}
|