Software Development: Building Reliable Systems

Interface Body Organization

The body of an interface declaration should be organized in the following order:

  1. interface constant field declarations

  2. interface method declarations

The declaration styles of interface fields and methods are identical to the styles for class fields and methods .

Категории