4.1.2 Composite Data Types


Java has several ways to hold objects together. A built-in type is the array. More sophisticated ways are the container classes such as vectors and hash tables. It is fair to say that the Java language has not many composite data structures built-in, but they can be implemented with little effort. In this section we shall discuss: