Requires Free Membership to View
Java does not support multiple class inheritance. Java does, however, support multiple interface inheritance. Therefore, a class can realize multiple "personalities" using something similar to the following construct:
public interface SuperSizable
extends java.io.Serializable, Comparable
{
public void superSize();
} This was first published in January 2006

Join the conversationComment
Share
Comments
Results
Contribute to the conversation