title: When i need to use abstract class and interface in Java?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1221512/abstract-class-and-interface-class">Abstract class and Interface class?</a>  </p>
  </blockquote>
  
  
  
  <p>When i need to use abstract class and interface in Java?</p>
  
  <p>My doubt is </p>
  
  <ol>
  <li>Which situation i need to use abstract class and which situation i need to use interface.</li>
  <li>interface satisfy the abstract class properties. so then why we need especially abstract class? </li>
  <li>i know, that abstract class contains abstract methods and non abstract methods, but we can use abstract class as a ordinary class, then the result will be same in the both classes. the ordinary class also inherited same as abstract class. So why we need abstract class.</li>
  </ol>
  
  <p>If anybody know the good example please reply me.</p>
  
  <p>Thanks.</p>