Add java25-features module: the 18 JEPs of JDK 25 with runnable demos, captured output and compile-error cases
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b5uFE41EgmSXEP4axJ
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
876ae1bb5c
commit
1fb1455734
@@ -0,0 +1,6 @@
|
||||
$ javac --release 25 --enable-preview src/PrimitivePatternsPreview.java && java --enable-preview PrimitivePatternsPreview (25.0.5.1)
|
||||
ok | server error 503 | client error 404 | other 302
|
||||
42 fits in int as 42
|
||||
5000000000 does not fit in int
|
||||
3.0 instanceof int? true, 3.5 instanceof int? false
|
||||
16777216 instanceof float? true, 16777217 instanceof float? false
|
||||
Reference in New Issue
Block a user