I need to mimic multi inheritance in Java. It might be wrong design but, since my problem is not with (parent) class functionality, I have not been able to mimic the feature with interfaces.
Here is more description on the problem.
I have a class called AbstractModel.java with number of methods. On the other hand, there is another class AbstractTableModel.java. Now assume that there is a class called table controller.java that deals with AbstractModel.java and on the other hand there is class called Tableview.java that deals with AbstractTableModel.java. I need have to some way to define : public class A extends AbstractModel, AbstracTableModel so that both view and controller can use the same class with extension. Please note that the solution AbstractTableModel.java extends AbstractModel is not a solution since it is a built-in java class.
Thank you.