<prompt> Tumia darasa kwa ajili ya Equations. Hiyo ina maana kila aina ya hesabu ya hesabu. Kuandika katika Java.  <response>: Heres a sample code for an Equation class in Java:javapublic class Equation instance variables private String equation; constructor public EquationString equation this.equation equation; methods public double solve parses the equation and returns the solution return double new ScriptEngineManager.getEngineByNameJavaScript.evalequation; getter and setter methods public String getEquation return equation; public void setEquationString equation this.equation equation; 