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...

Physical data flow diagrams:

A) include processes for adding, updating, changing and deleting records. B) are used to model business events, along with their input and output. C) enable the analyst to better understand the business. D) include no interface data flow in or out of processes.

Computer Science & Information Technology

The ________ attribute of the ________ element specifies another element that is identified by its ________ attribute.

(a) ONCLICK, SCRIPT, ID. (b) FOR, ID, SCRIPT. (c) ID, SCRIPT, ONCLICK. (d) FOR, SCRIPT, ID.

Computer Science & Information Technology

Which of the following is NOT a video playback option?

A) Loop until Stopped B) Rewind after Playing C) Compress Video D) Start Automatically

Computer Science & Information Technology

You can type text into the Text pane or ________ of a SmartArt diagram

A) masthead B) placeholder C) text box D) shape

Computer Science & Information Technology