title: The method setValue(Integer) is undefined for the type Integer?
body: <p><strong>MyDate.java</strong> has the method</p>
  
  <pre><code>class MyDate {
   public void setValue(Integer value) {
    value = 55;
   }
  }
  </code></pre>
  
  <p><strong>PassTest.java</strong></p>
  
  <pre><code> import learn.MyDate;
  
   public class PassTest {
    public static void changeInt(Integer value) {
    setValue(value);
   }
  </code></pre>
  
  <p>is showing the error The method <code>setValue(Integer)</code> is undefined for the type <code>Integer</code>? why?</p>
  
  <p>And what will be the difference if we call <code>setValue</code> as <code>value.setValue</code> here?
  I tried to find it in google but couldn't understand it?</p>