title: sequential search implementation
body: <p>Hey guys I am trying to write a class and one of my methods in my class is suppose to search an array looking for the item whose product item is given by me 3rd parameter. I have 2 issues. </p>
  
  <ol>
  <li>I don't know how to declare an array inside a class with out specifying size</li>
  <li>I know I must use sequential search to search array but I don't know how to implement the code for this in the class.</li>
  </ol>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>public static int ProductSearch(GroceryItems[] product, int numProducts, int productNumber)</code></pre>
  </div>
  </div>
  </p>