title: Are C# style object initializers available in Java
body: <p>Like this one? <a href="http://weblogs.asp.net/dwahlin/archive/2007/09/09/c-3-0-features-object-initializers.aspx">http://weblogs.asp.net/dwahlin/archive/2007/09/09/c-3-0-features-object-initializers.aspx</a></p>
  
  <pre><code>Person p = new Person()
  {
      FirstName = "John",
      LastName = "Doe",
      Address = new Address()
      {
          Street = "1234 St.",
          City = "Phoenix"
      }
  };
  </code></pre>