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

Computer Science & Information Technology

You might also like to view...

A member of a digital forensics team, Joe arrives at a crime scene and is preparing to collect system data. Before powering the system off, Joe knows that he must collect the most volatile date first.Which of the following is the correct order in which Joe should collect the data?

A. CPU cache, paging/swap files, RAM, remote logging data B. RAM, CPU cache. Remote logging data, paging/swap files C. Paging/swap files, CPU cache, RAM, remote logging data D. CPU cache, RAM, paging/swap files, remote logging data

Computer Science & Information Technology

Which of the following results from poorly configured technologies that a Web application runs on top of?

A. reflected corruption B. stored misconfigurations C. reflected misconfigurations D. security misconfigurations

Computer Science & Information Technology