title: Do/can abstract classes replace interfaces?
body: <p>In Java, you can create an abstract class that contains only abstract methods. On the other hand, you can create an interface that declares the same methods. That being the case, can you use abstract classes instead of interfaces?</p>