title: How does double dispatch work in Visitor pattern?
body: <p>I was looking into other questions related to the visitor pattern but couldn't understand the implementation of double dispatch in visitor pattern.</p>
  
  <p>Please refer to the link 
  <a href="http://sourcemaking.com/design_patterns/visitor/java/2">Visitor Pattern</a></p>
  
  <p>How does double dispatch work in the Visitor pattern?</p>