Advertisement
DulcetAirman

1+1*3=4

Jan 30th, 2018
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.21 KB | None | 0 0
  1. import javax.script.*;
  2.  
  3. public class SomeClass {
  4.  
  5.   public static void main(final String[] args) throws ScriptException {
  6.     new ScriptEngineManager().getEngineByExtension("js").eval("print(1+1*3==4);");
  7.   }
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement