Add java11-features module: runnable demos and captured output for the ankurm.com java11-features article
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
$ javac src/StringMethods.java && java StringMethods (11.0.32.1)
|
||||
trim() length : 9
|
||||
strip() length : 5
|
||||
isBlank(" ") : true isEmpty: false
|
||||
lines() : [a, b, c]
|
||||
repeat(3) : ababab
|
||||
stripLeading : [x ] stripTrailing: [ x]
|
||||
Reference in New Issue
Block a user