title: Why is method overloading and overriding needed in java?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/154577/polymorphism-vs-overriding-vs-overloading">Polymorphism vs Overriding vs Overloading</a>  </p>
  </blockquote>
  
  
  
  <p>I'm struggling to know why <strong>method overloading and overriding needed</strong> in java?  </p>
  
  <p>I have read some articles regarding this but not able to catch why it's needed practically?</p>
  
  <p>I also visited the below url in stackoverflow but i'm not clear in this topic yet.</p>
  
  <p><a href="https://stackoverflow.com/questions/2469767/java-overloading-and-overriding">Java overloading and overriding</a></p>
  
  <p>Any practical example will be appreciated. </p>
  
  <p>Thanks in advance.</p>