Skip to content

Instantly share code, notes, and snippets.

@Sottti
Last active December 3, 2018 07:13
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 Sottti/208cc22db5ea9aff9f4882203ee1892e to your computer and use it in GitHub Desktop.
Save Sottti/208cc22db5ea9aff9f4882203ee1892e to your computer and use it in GitHub Desktop.
// AnotherFile.kt file
// numberThree is visible to any other file because it's public
// numberEight is visible to any other file because User and numberEight are public
// numberEleven is visible to any other file because Moderator and numberEleven are public
private const val numberTwentyTwo = numberThree + User().numberEight + Moderator().numberEleven
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment