Hi

I know it is unable to inherit 2 superclass and I know why because there is another thread discussing about this. But I just wonder is there a way to solve this problem?

technically, once you inherit one class, you are inheriting two classes (don't forget Object ;) )
but ... well, if class A extends class B and class C extends class A, C is also extending B.

other than that, I think using interfaces is about the closest you are going to get.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.