Java modules are builing blocks of microservices
allowing the user to create their modules to develop their applications.
TODO
allowing the user to create executable to their applications.
jlink [options] --module-path modulepath --add-modules module [,module...]
TODO
TODO
Using Jshell, a program element like statement, declaration or expression can be immediately verified. Typically till Java 8, a developer needs atleast IDE help to validate any arbitary logic. Hence JShell gives hand to minimize the above effort.
How to Use
Type in command prompt, JShell window opens for you.
-
ifPresent(Consumer action)
-
ifPresentOrElse(Consumer action, Runnable emptyAction)
- eg., ifPresentOrElse(T -> {}, () -> {})