I have the following classes, representing webpages
App
Header
TableOperations
Header
is common for all pages. So I can write:
class App extends Header
TableOperations
class represent the operations that are related to table. All webpage has a table too, which has common operation. Now how do I design these 3 classes?
Now how App
can use both classes methods?
I can't extend two classes in java. Any other way?