/** * Write a description of class Apple here. * * @author (your name) * @version (a version number or a date) */ public class Apple extends Product { private double price; private String id; private int quantity; /** * Constructor for objects of class Apple */ public Apple(double price, String id, int quantity) { super(price, id, quantity); } /** * An example of a method - replace this comment with your own * * @param y a sample parameter for a method * @return the sum of x and y */ }