I was just reading the article in the patterns section about Business Interfaces and the following code snippet was there:
// Let the remote interface extend the business interface
public interface EJBRemoteInterface extends EJBObject, BusinessInterface {
}
How is it possible to directly extend more than one thing? I thought that was not possible in java?
Thanks!
-
How is this possible? (1 messages)
- Posted by: Alex Hurtt
- Posted on: June 08 2001 15:59 EDT
Threaded Messages (1)
- How is this possible? by Gregory Bragg on June 08 2001 16:02 EDT
-
How is this possible?[ Go to top ]
- Posted by: Gregory Bragg
- Posted on: June 08 2001 16:02 EDT
- in response to Alex Hurtt
You can get psuedo C++ style multiple class inheritance by extending more than one interface in Java.
Greg.