Skip to content

Instantly share code, notes, and snippets.

@the1mills
Last active November 17, 2018 02:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save the1mills/fa0e6a49008368d4ab279e8c0fc65767 to your computer and use it in GitHub Desktop.
Save the1mills/fa0e6a49008368d4ab279e8c0fc65767 to your computer and use it in GitHub Desktop.
inner vs outer private classes
package whatever;
class Outer2 {}
public class Outer {
class Inner2 {}
}
@the1mills
Copy link
Author

the1mills commented Nov 17, 2018

I am wondering if the Inner2 and Outer2 classes behave at all differently. My guess is no, but I don't know. Both classes are private to the file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment