Test static class.
The build was successful.
Details
The build was successful.
Details
This commit is contained in:
parent
a3a2c8b619
commit
fd278b1f47
|
@ -0,0 +1,11 @@
|
|||
final virtual class Static {
|
||||
public void test() {
|
||||
print('This method can be called statically...');
|
||||
}
|
||||
}
|
||||
|
||||
final class Program {
|
||||
public void main() {
|
||||
Static::test();
|
||||
}
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
This method can be called statically...
|
Loading…
Reference in New Issue