+ 1
Is there any java alternative of Python's eval or exec?
Or maybe a workaround?
2 ответов
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?