title: Is this called Overloading?
body: <p>I have wo methods with the same name but different parameter types and different return types.</p>
  
  <pre><code>public class TestOverloading {
  
      public void display(){
          System.out.println("Inside display method of TestOverloading class");
      }
  
      public int display(int i){
          System.out.println("Inside display method  of TestOverloading class values is "+ i);
          return 0;
      }
  }
  </code></pre>
  
  <p>Output:
  The following code works fine no errors in JDK 1.6. </p>
  
  <p>Is it called Overloading? If not, why not?</p>