Skip to content

Instantly share code, notes, and snippets.

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 Guilherme-HRamos/f25607bfca57fd21acf9ade4a8537a83 to your computer and use it in GitHub Desktop.
Save Guilherme-HRamos/f25607bfca57fd21acf9ade4a8537a83 to your computer and use it in GitHub Desktop.
Medium - Android/Java Interfaces like a Boss! - Nested classes example
interface InterfaceWithNestedClasses {
// Classes internas
// 1.Podem ter qualquer tipo de classe internamente
// 2.Suas classes internas são estáticas (nested classes)
interface MyInterface {
// some code here
}
enum MyEnum {
// some code here
}
class MyClass {
// some code here
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment