title: Can a JavaBean have methods besides getters and setters?
body: <p>According to definitions I find in the internet a JavaBean is a Java class that satisfies these conditions:</p>
  
  <ul>
  <li>All instance attributes are private</li>
  <li>All instance attributes have public getters and setters</li>
  <li>The class has a parameterless constructor</li>
  <li>The class implements the Serializable interface</li>
  </ul>
  
  <p>What I would like to know is that <strong>if I add method to a Javabean can we still call it a Javabean?</strong></p>
  
  <p>For exemple <strong>can we say that the following class is a JavaBean?</strong></p>
  
  <pre><code>public class Person implements Serializable {
      private String name;
      public Person(){}
      public String getName(){...}
      public void setName(String name){...}
      public void sayHello(){}
  }
  </code></pre>