title: Does a method's signature in Java include its return type?
body: <p>Does the method signature in a Java class/interface include its return type?</p>
  
  <p>Example:</p>
  
  <p>Does Java know the difference between those two methods:</p>
  
  <pre><code>public class Foo {
      public int  myMethod(int param) {}
      public char myMethod(int param) {}
  }
  </code></pre>
  
  <p>Or is it maybe only the method name and parameters list that matter?</p>