You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
123456789101112 |
- package test1;
-
- class SuperDelegator {
- public int f(int p) { return p + 1; }
- public static int g(int p) { return p + 1; }
- }
-
- public class Delegator extends SuperDelegator {
- public int run() {
- return f(3) + g(10);
- }
- }
|