title: How would I properly call this list from another class?
body: <p>I have a modest programming background, but I am totally green to Java. I inherited some Java code at work, and I am simply trying to call this list properly.</p>
  
  <p>Assistance appreciated.</p>
  
  <pre><code>public class CallTestClassList {
  
  try { &lt;how do I properly call the list from TestClass?&gt; }
  
  }
  public class TestClass {
  
      public List TestList() {
  
                  String s = null;
                  List cData = new ArrayList();
                  String[] Warning = null;
                  String[] Error = null;
                  int flag = 0;
      }
      return cData;
  }
  </code></pre>