I have two java files I’m trying to figure out and I don’tunderstand why I need the test file. Could you help and alsoexplain why I need the test file?
Steppingstone5
package SteppingStones;
import java.util.Scanner;
import java.util.ArrayList;
public class SteppingStone5_Recipe {
private String recipeName;
/**
* Add three variables:
*
* 1. a variable ‘servings’ to store how many people the recipe willfeed;
*
* 2. an ArrayList variable ‘recipeIngredients’ to store the textfor the
* names (recipeName) each recipe ingredient added
*
* 3. a variable totalRecipeCalories
*
*/
/**
* Add mutators and accessors for the class variable.
*
*/
public SteppingStone5_Recipe() {
this.recipeName = “”;
this.servings = ??? //<— assignment value with appropriatedata type
this.recipeIngredients = ???; //<– assignment value for emptyArrayList
this.totalRecipeCalories