mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 08:31:35 +00:00
Test for static
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
class staticProperty {
|
||||
|
||||
public static void main(String[] args) {
|
||||
int i = Test.valProp;
|
||||
int j = Test.varProp;
|
||||
Test.varProp = 100;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user