Web Hosting Talk







View Full Version : Java eval()-like function?


Falco1199
09-21-2003, 01:53 PM
In Java, is there a function/method like eval(), from various other languages?

Burhan
09-21-2003, 02:10 PM
http://www.php.net/eval

Falco1199
09-21-2003, 02:12 PM
Umm... in Java.

snozzled
09-21-2003, 03:36 PM
There is no eval() equivalent in the language or core libraries. However, you can achieve most of the same functionality with BeanShell from http://www.beanshell.org