Is there something like python\'s interactive REPL mode, but for Java?
So that I can, for example, type InetAddress.getAllByName( localHostName ) in a window, a
A REPL called JShell (developed by Oracle) has been released as part of JDK 9.
Just download JDK 9, and launch bin/jshell.