Is it good to Have instance variable assigned to some value instead declared in constructor
<p>I have a Class <strong>USER</strong> which has instance variables with default values. like give below</p>

<pre><code>public class User{
   private String username="";
   private String password = "";
   private Boolean isValidUser = true;
   private Boolean email = "sample@gmail.com"
  ........ 
}
</code></pre>

<p>now i have changed my class like </p>

<pre><code>public class User{
       private String username;
       private String password;
       private Boolean isValidUser;
       private Boolean email
      ........ 

      public User(){
         email = "sample@gmail.com";
         isValidUser = true;
         .......
      }
  }
</code></pre>

<p>I though keeping those default values in constructor is good practice.</p>

<p>i know it's stupid Question =D but wanna know your opinion.</p>