title: Cannot resolve constructor for ArrayList
body: <p>I created a new class and a constructor like this:</p>
  
  <pre><code>public class Person {
    String firstName;
    String lastName;
    String pass;
  
    public Person(){}
  
    public Person(String f,String l,String p){
      firstName=f;
      lastName=l;
      pass=p;
    }
  }
  </code></pre>
  
  <p>Then I created an object in MainActivity:</p>
  
  <pre><code>protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
      Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar);
      setSupportActionBar(toolbar);
  
      ArrayList&lt;Person&gt; list = new ArrayList&lt;Person&gt;();
      ArrayList&lt;Person&gt; list2 = new ArrayList&lt;Person&gt;("a","b","c");
  }
  </code></pre>
  
  <p>The problem is that I have a message like this:</p>
  
  <blockquote>
    <p>Cannot resolve constructor 'ArrayList(java.lang.String,java.lang.String,java.lang.String)'</p>
  </blockquote>
  
  <p>and in Person class is says that the constructor is never used. </p>
  
  <p>What did I do wrong?</p>