> Q: Is there a nestmate relationship between top level classes that share the 
> same source file?
> A: No. Being defined in the same source file is not sufficient to have a 
> nestmate relationship.

More precisely: that’s up to the language compiler.  If the rules of your 
language say that these classes are nest mates, they are nest mates.  

By default, Java will likely not treat them as nest mates.


Reply via email to