title: Abstract Data Type and Interface
body: <p>I am new to Java. What is the difference between Abstract data type and Interface.</p>
  
  <p>For Example We have a ListADT</p>
  
  <pre><code>interface MyListADT&lt;T&gt; {
      void add(T var);
      void add(T var,int pos);
      void display();
      T remove(int pos);
      void clear();
      boolean contains(Object o);
  }
  </code></pre>
  
  <p>Where we are defining the ADT as an interface. NoW What is the difference between ADT and Interface Or ADT is an Interface</p>