Match each item with a statement below.

A. A program or class that instantiates objects of another prewritten class.
B. A definition containing an optional access modifier, the keyword class, and an identifier.
C. A type that refers to a specific memory location.
D. This allows assignment of values to fields using a property name.
E. This retrieves an object's field values.
F. Identifiers that act like keywords in specific circumstances.
G. An alternative to repeating code in the constructors.
H. An automatically generated constructor for a class.
I. The value of an object initialized with a default constructor.
J. A property that has only a get accessor, and no set accessor.


A. class client
B. class header
C. reference type
D. set accessor
E. get accessor
F. contextual keywords
G. constructor initializer
H. default constructor
I. default value
J. readonly property

Computer Science & Information Technology

You might also like to view...

In time-division multiplexing, the speed of the trunk port is always less than the speed of the branch ports.

a. True b. False

Computer Science & Information Technology

Which of the following chart types is used to show data that changes over time?

A. Pie chart B. Line chart C. Bar chart D. Column chart

Computer Science & Information Technology

Calculating every possible move in a chess game generates a(n)

a. game tree b. Turing Test c. algorithm d. none of the above

Computer Science & Information Technology

What is the output of the following Java code? int x = 0;if (x > 0)    System.out.println("positive ");    System.out.println("zero ");System.out.println("negative");

A. zero B. negative C. zero negative D. positive zero negative

Computer Science & Information Technology