There are only two access modifiers allowed for classes - public (class can be accessed from anywhere as long as you put import if neccessary) and default (class can be accessed only from the same package).
Hence, your code will result in error and cannot be compiled.
EDIT: import corrected instead of include.
The quieter you are, the more you are able to hear.
Yeah, I was checking some C++ code this morning and made a mistake in a rush, sorry about that.
Original question was directed to classes in general (that's what I understood from it); inner classes are story for itself.