title: Compare and match arrays with different sizes
body: <p>I have a couple of arrays with different sizes; say, array <strong>A</strong> and array <strong>B</strong>.</p>
  
  <pre><code>Array A
  </code></pre>
  
  <p>[chery, chery, uindy, chery, chery]</p>
  
  <pre><code>Array B
  </code></pre>
  
  <p>[chery, uindy]</p>
  
  <p>Need to check whether the values present in <strong>Array A</strong> is available in <strong>Array B</strong> or not. In the above example, all the values in Array A is available in Array B. Please help this out with the Java code. Thanks!</p>