Answered You can hire a professional tutor to get the answer.

QUESTION

public String recReverse ToString() is a RECURSIVE method with the same functionality - creates a string that holds all the integers in the list in...

Below is what I have right now, I need to add some methods with requirement, and it is about reverse() Method for List class,reverseToString() and recReverseToString(), Copy Constructor Method and smallestFirst()Method see attchments for details and requirement, I know it is a long code but I will post this question like as many times as you want, so you can answer all of it, let me know how many you want. Thank you very much!!!

List.java

package listdemo;

public class List {

  private class Node

  {

    int value;  

    Node next;    

    /**

      Constructor.       

      @param val The element to store in the node.

      @param n The reference to the successor node.

    */

    Node(int val, Node n)

    {

      value = val;

      next = n;

    } 

    /**

      Constructor. 

      @param val The element to store in the node.

    */

    Node(int val)

    {

      // Call the other (sister) constructor.

      this(val, null);       

    }

  }

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question