What is an Interface?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1321122/what-is-an-interface-in-java">What is an interface in Java?</a>  </p>
</blockquote>



<p>Im confused by this term. I search google and this is what I found. <br><br>
An interface is the place where two different things meet and interact. This term often comes up with regard to computers. Data processing takes place inside the computer, and thoughts take place inside the user of the computer, and they meet at an interface, which is a keyborad and a monitor screen (and usually speakers as well). <strong>[DATA -> INTERFACE &lt;- USER]</strong><br><br>
But in this site I found this.<br><br>
Java contains many libraries in those packages (Swing, etc.), and the API is the interface by which we request services (perform actions, etc.).<strong>[PACKAGES->API&lt;-PROGRAMMER]</strong><BR><BR>
But in java we use it like this...<br>
public interface A<br>
public class B implements A<br>
We use it to implement methods from A. Interface here is not a connection between B and methods().</p>
