title: Is this class a POJO
body: <p>I have a doubt regarding POJO.</p>
  
  <p>Take below example</p>
  
  <pre><code>public class User
  {
       String user="";
       String password="";
       String firstName="";
       String lastName="";
       ChallengeQuestions challengeQuestions;
  
       //getter and setters for these prooperties
  }
  
  public class ChallengeQuestions
  {
      String question="";
      String answer="";
  
      //getter and setters for these properties
  }
  </code></pre>
  
  <p>Here is my question, whether <code>User</code> class is a POJO or not.</p>
  
  <p>Thanks,<br>
  Narendra</p>