Add java21-features module: runnable demos and captured output for the ankurm.com java21-features article
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
$ javac src/RecordPatternsDemo.java && java RecordPatternsDemo (21.0.12.1)
|
||||
line from (0,0) to (3,4) length^2=25
|
||||
box of String hi
|
||||
box of Integer 7
|
||||
no match
|
||||
Reference in New Issue
Block a user