title: Same method with different return types in abstract class and interface
body: <p>Just extending the question..</p>
  
  <p><a href="https://stackoverflow.com/questions/11296789/same-method-in-interface-and-abstract-class">Same method in abstract class and interface</a></p>
  
  <p>Suppose a class implements an interface and extends an abstract class and both have the same method (name+signature), but different return types. Now when i override the method it compiles only when i make the return type same as that of the interface declaration.</p>
  
  <p>Also, what would happen if the method is declared as private or final in the abstract class or the interface?</p>
  
  <p>**On a side note. Mr. Einstein stuck to this question for an abominable amount of time during an interview. Is there a popular scenario where we do this or he was just showing off?</p>