title: Initializing ArrayList with some predefined values
body: <p>I have an sample program as shown.</p>
  
  <p>I want my <code>ArrayList</code> <code>symbolsPresent</code> to be initialized with some predefined symbols: ONE, TWO, THREE, and FOUR.</p>
  
  <pre><code>symbolsPresent.add("ONE");
  symbolsPresent.add("TWO");
  symbolsPresent.add("THREE");
  symbolsPresent.add("FOUR");
  </code></pre>
  
  <p></p>
  
  <pre><code>import java.util.ArrayList;
  
  public class Test {
  
      private ArrayList&lt;String&gt; symbolsPresent = new ArrayList&lt;String&gt;();
  
      public ArrayList&lt;String&gt; getSymbolsPresent() {
          return symbolsPresent;
      }
  
      public void setSymbolsPresent(ArrayList&lt;String&gt; symbolsPresent) {
          this.symbolsPresent = symbolsPresent;
      }
  
      public static void main(String args[]) {    
          Test t = new Test();
          System.out.println("Symbols Present is" + t.symbolsPresent);
  
      }    
  }
  </code></pre>
  
  <p>Is that possible?</p>