To avoid duplicating code, use ________, rather than ________.

a. inheritance, the “copy-and-past” approach.
b. the “copy-and-paste” approach, inheritance.
c. a class that explicitly extends Object, a class that does not extend Object.
d. a class that does not extend Object, a class that explicitly extends Object.

a. inheritance, the “copy-and-past” approach.

Computer Science & Information Technology

You might also like to view...

Match the following terms about how computers operate with their definitions:

I. Binary II. Bit III. Byte IV. Cache memory V. Gigahertz A. A binary representation of one character that contains eight bits B. A two-state system in which circuits must be either "on" or "off" C. A measurement used to represent processor speed D. A unit in the binary system that has two possible values: 0 or 1 E. Temporary storage located close to the CPU

Computer Science & Information Technology

A(n) ________ is a frame that is displayed as a separate box on a Web page

Fill in the blank(s) with correct word

Computer Science & Information Technology