JavaCompilerCore/resources/javFiles/Methods.jav

17 lines
232 B
Plaintext
Raw Permalink Normal View History

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