Composition is sometimes referred to as a(n) ________.

a. is-a relationship
b. has-a relationship
c. many-to-one relationship
d. one-to-many relationship


b. has-a relationship

Computer Science & Information Technology

You might also like to view...

Which of the following statements correctly creates a Scanner object for keyboard input?

a. Scanner kbd = new Scanner(System.keyboard); b. Scanner keyboard = new Scanner(System.in); c. Scanner keyboard(System.in); d. Keyboard scanner = new Keyboard(System.in);

Computer Science & Information Technology

What is wrong with the following Structured Graphics control PARAM definition?

``` ``` a) Nothing b) It needs to be assigned a line number. c) The SetLineColor method should be enclosed in quotation marks. d) The SetLineColor method is missing critical parameters.

Computer Science & Information Technology

When you place an image, Photoshop resizes the image to fit the canvas and places it on a new layer, positioned in the ____ of the canvas.

a. top-left corner b. bottom-right corner c. center d. top-right corner

Computer Science & Information Technology

Which one of the following is an example of a command prompt?

A) C:/> B) C:\> C) C:> D) C>

Computer Science & Information Technology