SolarWinds interview question

Create a REPL program in Java