Which of the following is not one of the disadvantages of using the “copy-and-paste” approach to duplicating code from one class into another class?

a. Errors are prone to be spread around.
b. It is time consuming.
c. It forces the system to store many physical copies of the code, creating a code-maintenance nightmare.
d. All of the above are disadvantages of the “copy-and-paste” approach.


d. All of the above are disadvantages of the “copy-and-paste” approach.

Computer Science & Information Technology

You might also like to view...

What is wrong with the java.util.Stack implementation of a stack?

What will be an ideal response?

Computer Science & Information Technology

A semicolon does not (usually) go after these with the exception of >>”with the exception of” seems to make no sense here

a. while(condition) b. if(condition) c. a function header to make it a function declaration d. int main( ) e. an expression to make it a statement

Computer Science & Information Technology

__________ stores a Windows XP file’s attributes inside the object itself.

a. FAT-32 b. NTFS c. FAT d. The premise of this question is false.

Computer Science & Information Technology

Tablet computers and smartphones use ________ operating systems.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology