package com.nhc.personal;
import javax.script.ScriptEngine;
import javax.script.ScriptEngineManager;
public class TestCondition {
public static void main(String[] bag) throws Exception {
ScriptEngineManager factory = new ScriptEngineManager();
ScriptEngine engine = factory.getEngineByName(“JavaScript”);
String condition = “10==10 && 20==20?;
System.out.println(engine.eval(condition));
}
software company in anand gujarat that focuses on website development, web hosting solutions, Android Development and Embedded Software Development which is founded in 2012. Purely focused on Opensource Initiative.