An advantage of inheritance is that:

a) all methods can be inherited
b) all instance variables can be uniformly accessed by base classes and derived classes
c) Objects of a derived class can be treated like objects of their base class
d) None of the above.


c) Objects of a derived class can be treated like objects of their base class

Computer Science & Information Technology

You might also like to view...

Queries that are based on more than one table are sometimes called ____ queries.

A. multitable B. many table C. subtable D. double table

Computer Science & Information Technology

SRAM contained inside the processor is known as _______

Fill in the blank(s) with correct word

Computer Science & Information Technology

Selecting the type of audience (peers, strangers) indicates their _____.

A. feelings towards B. relationship to you C. education level D. attention span

Computer Science & Information Technology

Lines of code that begin with the ____________________ character are comments.

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

Computer Science & Information Technology