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.
1234567891011121314151617 |
- package test3;
-
- public class InnerMethod {
- static int f = 0;
- static int counter = 3;
- private static void test() {}
- static Inner inner = new Inner();
-
- static class Inner {
- protected static void test() { f = 1; }
- }
-
- public int foo() {
- test();
- return f;
- }
- }
|