Home Segments Top Top Previous Next

643: Mainline

Whenever multiple classes can be viewed as functionally related—such as the multiple classes that support entertainment applications—you should use one of Java's mechanisms that enable you to bring together those classes into a module that you can develop and maintain independently. Programs divided into modules are said to be modular.