title: Why doesn't Java have automatic properties like C#?
body: <p>C# has automatic properties which greatly simplify your code:</p>
  
  <pre><code>public string Name { get; set; }
  public string MiddleName { get; set; }
  public string LastName { get; set; }
  </code></pre>
  
  <p>Whereas Java has you write this much code:</p>
  
  <pre><code>private String name;
  private String middleName;
  private String LastName;
  
  public String Name(){
     return this.name;
  }
  
  etc..
  </code></pre>
  
  <p>Is there a particular reason Java hasn't implemented something like this?</p>