Comment on how each of the following entities or concepts contributes to the reusability of data structures:
a) Classes
b) Composition
a) Classes allow us to create as many data structure objects as we wish.
b) Composition enables a class to reuse code by storing a reference to an instance of an- other class in a field. Public methods of the instance can be called by methods in the class that contains the reference.
You might also like to view...
Using the Font ________, you can apply theme fonts
Fill in the blank(s) with correct word
Which of the following describe the characteristics of a point-to-point link? (Choose all that apply.)
a. Provides a preestablished LAN communications path to a remote site b. Provides a preestablished WAN communications path to a remote site c. Uses leased lines to provide a dedicated connection d. Uses leased lines to provide a temporary connection