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...

With a(n) ____ file, you can export your file to be placed and used in Adobe Flash, or the file can be opened directly by Web browser software like Internet Explorer or Mozilla Firefox.

A. MOV B. SWF C. AVI D. FLA

Computer Science & Information Technology

Define a class Digraph containing lists of vertices and edges and a class AdjacencyMatrix where a 1 indicates an edge between subscript vertices. Include constructors for automatic conversion.

What will be an ideal response?

Computer Science & Information Technology

A(n) ____________________ class is one that will be instantiated.

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

Computer Science & Information Technology

Browser extensions are identified through the use of a vendor prefix, which indicates the browser vendor that created and supports the property.?

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

Computer Science & Information Technology