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.

PrivateFields.java 244B

12345678910111213
  1. public class PrivateFields {
  2. public static void main(String[] args) {
  3. }
  4. }
  5. class Outer {
  6. private static int one = 1;
  7. static class Inner extends Outer{
  8. private static int two = 2;
  9. int m() { return one; }
  10. }
  11. }