Discuss the ways in which inheritance promotes software reuse, saves time during app development and helps prevent errors.

What will be an ideal response?


This hierarchy contains many “is-a” (inheritance) relationships. An Undergraduate-Student is a Student. A GraduateStudent is a Student too. Each of the classes Freshman, Sophomore, Junior and Senior is an UndergraduateStudent and is a Student. Each of the classes DoctoralStudent and MastersStudent is a GraduateStudent and is a Student.



Computer Science & Information Technology

You might also like to view...

In a For statement of the form shown below, what is the default step value when the "Step c" clause is omitted?

For i As Integer = a To b Step c (A) the same as a (B) the same as b (C) 0 (D) 1

Computer Science & Information Technology

Running an update query from ________ view does not display the results in a datasheet like a select query does.

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

Computer Science & Information Technology

A background feature called _____ allows you to move the background from the slide borders in varying distances by a percentage.

A. offsets B. onsets C. reduction D. expansion

Computer Science & Information Technology

Panels can be opened using the Window menu commands or the corresponding ________keys.

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

Computer Science & Information Technology