fork download
  1. public class Main {
  2. public static final Object Inner = new Object();
  3.  
  4. public static class Inner {
  5. public static final Object Help = new Object();
  6. }
  7.  
  8. public static void main(String[] args) {
  9. System.out.println(((Main.Inner) Main.Inner).Help);
  10.  
  11. // System.out.println(Outer.Inner.Help);
  12. // ^^^^ Cannot access Help
  13. }
  14. }
  15.  
Runtime error #stdin #stdout 0.03s 245632KB
stdin
Standard input is empty
stdout

Standard output is empty