title: operator < is undefined for the argument type(s) Integer, int error
body: <p>I'm trying to write a code to get given number of repeated times of a input string.</p>
  
  <p>Not written too much code, but here is my code:</p>
  
  <pre><code>public class MultipleCopiesString {
      public static void StringCopy(String inp, Integer num) {
          for (int i = 0; i &lt; num; i++){
          }
      }
  }
  </code></pre>
  
  <p>I'm getting error in for loop <code>(i &lt; num)</code>, I want to know why its coming and how it can be resolved. </p>
  
  <p>Java version is <code>1.8</code> and creating code on <code>eclipse</code>. </p>