What is the point of using abstract methods?
Say you have a three printers that you would need to write a driver for, Lexmark , Canon , and HP . All three printers will have the print() and getSystemResource() methods. However, only print() will be different for each printer. getSystemResource() remains the same throughout the three printers. You also have another concern, you would like to apply polymorphism. So since getSystemResource() is the same for all three printers, so this can be pushed up to the super class to be implemented, in Java, this can be done via making this abstract in the super class, and in making a method abstract in a super class, the class itself needs to be abstract as well. public abstract class Printer { public void getSystemResource (){ // real implementation of getting system resources } public abstract void print (); } public class Canon extends Printer { public void print (){ // here you will provide the implementation of p