I have two methods defined in two classes. These methods are almost the same. Instead of these two methods I want to use only one in the abstract class but the problem is th