Add java21-features module: runnable demos and captured output for the ankurm.com java21-features article
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
$ javac src/PatternSwitchDemo.java && java PatternSwitchDemo (21.0.12.1)
|
||||
big circle | circle | square 2.0 | rect 2.0x3.0
|
||||
null handled in the switch | large int | int | string of 4 | other
|
||||
Reference in New Issue
Block a user