title: SubClass extends LinkedList<SuperClass> Properties
body: <p>I'm working with superclass and subclass. My subclass extends the SuperClass this way: </p>
  
  <p><code>public class SubClass extends LinkedList&lt;SuperClass&gt;</code></p>
  
  <p>Does this mean that my subclass hold LinkedList properties. For example, if I'm creating objects of my subclass from other classes, am I able to do something like: </p>
  
  <pre><code>public class another {
      private SubClass object;
      public another(ArrayList&lt;String&gt; list) {
           object = new SubClass();
           SubClass localObject = object;
           for (String elements : list) {
               localObject.addAll(elements); 
           }
      }
  }
  </code></pre>
  
  <p>I want to add elements to end of the linked list. </p>
  
  <p>Would this work? Or would I have to create add(), addAll() etc methods in the subclass in order for it to work?</p>