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...
Comments are short notes explaining your thoughts and appear in note boxes that look like speech callouts you might see near a person's mouth in a comic strip
Indicate whether the statement is true or false
Computer Science & Information Technology
What is stored in a after execution of the following code?
char ch = 72.8; int a = int (ch); a) 72 b) 72.8 c) 73 d) The code is syntactically incorrect
Computer Science & Information Technology