=== 2.2.4.2 Classes === == Classes in a Package == A package can contain at most 255 classes and interfaces. == Interfaces == A class can implement at most 15 interfaces, including interfaces implemented by superclasses. An interface can inherit from at most 14 superinterfaces. == Static Fields == A class in an applet package can have at most 256 public or protected static non-final fields. A class in a library package can have at most 255 public or protected static non-final fields. There is no limit on the number of static final fields (constants) declared in a class. == Static Methods == A class in an applet package can have at most 256 public or protected static methods. A class in a library package can have at most 255 public or protected static methods.