Guest_imported
New member
- Jan 1, 1970
- 0
Can I make a class extend 2 different classes?
I need a class to inherite the methods of another one so I'll just subclass it, but I'd also like to make this class extend JInternalFrame class.
Is this possible?
something like
public class my_subclass extends my_class, JInternalFrame {
}
like this it won't work, I tryed, but is there a way to do it?
any other suggestions are welcome.
thank you.
I need a class to inherite the methods of another one so I'll just subclass it, but I'd also like to make this class extend JInternalFrame class.
Is this possible?
something like
public class my_subclass extends my_class, JInternalFrame {
}
like this it won't work, I tryed, but is there a way to do it?
any other suggestions are welcome.
thank you.