Created
October 20, 2024 03:03
-
-
Save gyugyu90/6d090ce9dfb8a8553126e0f17fff8c5a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MyClass { | |
static final CONSTANT = 1; | |
static void staticMethod() { | |
print('this is static method'); | |
} | |
int instanceVariable = 2; | |
final finalInstanceVariable = 3; | |
get getterMethod => 4; | |
set setterMethod(int parameter) => instanceVariable = parameter; | |
int _privateInstanceVariable = 5; | |
void method() { | |
print('this is instance method'); | |
} | |
void _privateMethod() {} | |
} | |
class Inheritance extends MyClass {} | |
class Implementation implements MyClass {} // missing concrete implementataions |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment