title: Getters and Setters in Java convention
body: <p>My Java is a bit rusty (been doing C# for the last couple of years). Also I hope this won't be a very subjective question.</p>
  
  <p>Anyway say I had class <code>Person</code> (yeah a bit of a cliche, I know), with no behaviour (C# version):</p>
  
  <pre><code>public class Person 
  {
     public string Name { get; set; }
     public int Age { get; set; }
     // say 10+ properties
  }
  </code></pre>
  
  <p>How would the equivalent Java version look like ? 
  I know I can write bunch of getters and setters (but say I had 10+ properties), it feels like a lot of boilerplate.
  Is it considered bad practice to just do:</p>
  
  <pre><code>public class Person {
     public String name;
     public int age;
     // rest of the stuff here
  }
  </code></pre>
  
  <p>I feel a bit uneasy about this. I realise there is no "right answer" but, I'm more interested in the general conventions and best practices.</p>