Defining your program's parameters.
Prev | Chapter 4. How It Works | Next

## Defining your program's parameters.

As described above in the Vocabulary section, there are four types of parameters you can define: `Switches`, `FlaggedOptions`, `UnflaggedOptions`, and `QualifiedSwitches`. When you define a parameter, you tell `JSAP` what flags (if any) it uses, what its default values are, whether it is required, what its ID is, and other relevant information. See the individual sections below for each type of parameter for details. If you're using `SimpleJSAP`, parameters are usually declared as an array in the constructor.

Prev | Up | Next
Chapter 4. How It Works | Home | Registering your parameters with JSAP.