Need Help Java Code Given Public Class Recursivemath Public Class Node Char Value Node Nex Q37070691

need help in java

this is the code given

public class RecursiveMath {
  
   public class Node{
       char value;
       Node next;
       public Node(char val) {
           value=val;
       }
   }
  
   Node expression;
  
   public RecursiveMath() {
       expression = null;
   }
  
   public void extendExpression(String extension) {
      
   }
   public boolean validExpression() {
       //todo
   }
  
   public int validExpressionHelper(int openClosed, Nodecurrent) {
       //todo
      
   }
  
   //already implemented
   public String toString() {
       String ret = “”;
       Node temp = expression;
       while(temp!=null) {
           ret=ret+temp.value;
          temp=temp.next;
       }
       return ret;
      
   }
}

Problem:

Math Makes the World Go

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.