An advantage of inheritance is that:

a. All methods can be inherited.
b. All instance variables can be uniformly accessed by subclasses and superclasses.
c. Objects of a subclass can be treated like objects of their superclass.
d. None of the above.


c. Objects of a subclass can be treated like objects of their superclass.

Computer Science & Information Technology

You might also like to view...

What does override mean?

What will be an ideal response?

Computer Science & Information Technology

A(n) visited link is a text hyperlink that has been clicked.

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

Computer Science & Information Technology

Write the pseudocode for below problem

Compute the average grade on a quiz for a class of any number of students.

Computer Science & Information Technology

Absolute cell references are indicated by placing a $ in front of the row and column indicators

Indicate whether the statement is true or false

Computer Science & Information Technology