title: what is the actual use of interface in java?
body: <blockquote>
    <p><strong>Possible Duplicates:</strong><br>
    <a href="https://stackoverflow.com/questions/1221512/abstract-class-and-interface-class">Abstract class and Interface class?</a><br>
    <a href="https://stackoverflow.com/questions/2124951/java-interface-abstract-classes-abstract-method">Java: interface / abstract classes / abstract method</a>  </p>
  </blockquote>
  
  
  
  <p>In Java, whatever use of interface is fulfilled by abstract class. I know one advantage of interfaces is that if we implement an interface then we can also extend another class. Is there any other use or advantage of interface in Java? </p>