The code that is automatically produced by the compiler is similar to code that you would write if you were writing the program using only top-level classes.