Skip to content

Commit 57fad33

Browse files
committed
add polymorphism test code
1 parent 5f62b37 commit 57fad33

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/PrintNumbers.kscr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package org.comroid.kscr.test;
22

33
import org.comroid.kscr.core.Throwable;
44
import org.comroid.kscr.core.Sequencable;
5+
import org.comroid.kscr.time.DateTime;
56

67
public class PrintNumbers implements Throwable {
78
public static int StackSize => 64;
@@ -23,6 +24,7 @@ public class PrintNumbers implements Throwable {
2324
// stdio <<- "first argument is:" + args[0] + endl
2425
// <<- "args array is " + args + endl;
2526
public static void main() {
27+
DateTime datetime = new DateTime(3, 4);
2628

2729
int[] xy = new int[6];
2830
stdio <<- "array size is " + xy.length() + endl;

0 commit comments

Comments
 (0)