title: Java code output is weird?
body: <p>I do not understand why my output is not what I expected, instead of showing the persons information, the output displays: <code>examples.Examples@15db9742</code></p>
  
  <p>Am I doing something wrong in my code?</p>
  
  <pre><code>package examples;
  
  public class Examples {
      String name;
      int age;
      char gender;
  
      public Examples(String name, int age, char gender){
          this.name = name;
          this.age = age;
          this.gender = gender;
      }
  
      public static void main(String[] args) {
          Examples[] person = new Examples[10];
          person[0] = new Examples("Doe",25,'m');
          System.out.println(person[0]);
      }
  
  }
  </code></pre>