Given the following declaration for the RetailItem, create t…

Given the following declaration for the RetailItem, create the setter for number of units on hand variable: public class RetailItem{   private String description;   // Item description   private int unitsOnHand;      // Number of units on hand   private double price;         // Unit price

Which statement, inserted at the indicated blank line, will…

Which statement, inserted at the indicated blank line, will correctly terminate this loop when the end of input is reached (detected when the user enters the letter Q)?ArrayList data = new ArrayList();boolean done = false;while (!done){ String input = in.next(); if (input.equalsIgnoreCase(“Q”)) { __________ } else { double x = Double.parseDouble(input); data.add(x); }}