title: Abstract Class:-Real Time Example
body: <p>Recently in a interview I was asked a very general question "what is abstract in java".I gave the definition and it was followed with some other question on abstract as what is abstract method and difference between abstract method and concrete method and etc.
  Then at last interviewer asked to give a real time example when I should use or define a class as abstract.I got confused.I gave some example but he was not convinced.</p>
  
  <p>I googled it but found no real solution.</p>
  
  <p>So can someone give me real time example i.e. when he defined a class as abstract in his/her project and why?</p>
  
  <p>Thanks.</p>