title: I am trying to return an empty list
body: <p>I'm new to list, but I'm trying to return an empty list through a method, so that list can be used somewhere else. But I don't know how to do it.</p>
  
  <pre><code>public List&lt;Something&gt; login (String user, String key){
      if (success) {
          System.out.println("Welcome");
          return  (THIS IS WHERE I WANT TO RETURN AN EMPTY LIST);
      } 
  
      System.out.println("Incorrect Information");
          return null;
  }
  </code></pre>