+ 1
Is there any java alternative of Python's eval or exec?
Or maybe a workaround?
2 Respostas
0
You can use ScriptEngine class
google it
0
We can use ScriptEngine but it is removed in jdk 11.
Better use some other engine like jython or GraalVM
Or maybe a workaround?