12 Requirements Specifications

In the preceding chapter, we discussed how to do requirements analysis. This activity involved interacting with a customer to discover what the product being developed is supposed to do. The result of the analysis is a requirements document that captures this understanding. The most important part of the requirements document is a requirements specification. This chapter describes how to write a requirements specification.

As we shall see, a program is a data object, and its specification will be similar to those we have already seen for abstract types. Specifications for abstract types rely on the overview section to define a model for the states of their objects. In those specifications, we were able to make ...

Get Program Development in Java: Abstraction, Specification, and Object-Oriented Design now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.