title: What are some practical examples of abstract classes in java?
body: <p>When and why should abstract classes be used? I would like to see some practical examples of their uses. Also, what is the difference between abstract classes and interfaces?</p>