Say we have this:
class Foo {}
public class Bar{}
versus:
public class Bar{
public class Foo{}
}
I can't figure out the difference. In both cases, Foo should be private to the file that contains Bar. Is there a difference? Of course, if we make it static, then it might be available to other files?
public class Bar{
public static class Foo{}
}
but I am specifically asking about the situation without the static keyword.