Java as we know is a statically typed programming language, but did you know it also has a REPL (Read-evaluate print loop) like many dynamic programming languages?
Well yes, Java 9 introduced JShell as a quick way to try out and prototype Java code
In this short video, we learn
🔹 How to launch JShell
🔹 Try out Java snippet
🔹 Save tried-out commands to a file
And, you can find the code at this Github repository:
https://github.com/automationhacks/ja...