/* * Manages Products and Pricing */ public class Product { private String productName; private double productPrice; /* * Returns the Name of Product * @return Name of Product */ public String getName() { return this.productName; } /* * Returns the Price of Product * @return Price of Product */ public double getPrice() { return this.productPrice; } /* * Sets price of Product * @param newPrice New Price of Product */ public void setPrice(double newPrice) { this.productPrice = newPrice; } }