title: Printing without calling method
body: <p>it may seem as a very basic question, but I do not understand why the method toString is printed on the screen when I didn't even called it, I just instantiated a Car object. Thanks</p>
  
  <pre><code>public class Car {
  
      public void m1() { 
  
         System.out.println("car 1"); 
  
      }
  
      public void m2() { 
  
         System.out.println("car 2"); 
  
      }
  
      public String toString() { 
  
         return "vroom"; 
  
      }
  
   }
  
  
  
  
  public static void main(String[] args) {
  
      Car myCar = new Car();
  
      System.out.println(myCar);
  
  }
  </code></pre>