<<< Product interface examples | Index | Factory method example >>> |
A ProductConstants interface
public interface ProductConstants
{
int CODE_SIZE = 4;
int DESCRIPTION_SIZE = 40;
}
A ProductAccess interface inherits multiple interfaces
public interface ProductAccess
extends ProductReader, ProductWriter,
ProductConstants
{
}
<<< Product interface examples | Index | Factory method example >>> |