Which of the following is NOT a step in using inheritance to create a subclass?

A. delete the methods that do not change
B. duplicate redundant instance variables
C. modify the code for methods that change
D. add any new methods


Answer: B

Computer Science & Information Technology

You might also like to view...

Three general approaches exist for dealing with deadlock: prevent, avoid, and __________ .

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

Computer Science & Information Technology

Checking the Automatically Update Related Fields check box means that if you change the primary key field value in the table on the "one" side of a one-to-many relationship, all foreign key values in the "many" table automatically update as well.? ____________________

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

In the Data Sources window, you cannot change the type that is associated with each table object.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

A(n) ______ is an instance of a class.

a. method b. data field c. interface d. object

Computer Science & Information Technology