The product has a method that is declared public, but returns a reference to a private array, which could then be modified in unexpected ways.