Using prototypes, any object class inherits the properties and methods from another class.

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

True

Computer Science & Information Technology

You might also like to view...

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

1. Each form and control in an application’s GUI is assigned a default name. 2. The appearance and other characteristics of a GUI object are determined by the object’s properties. 3. The Properties window contains a scroll able list of properties, which has two columns: the left column shows each property’s name, and the right column shows each property’s value. 4. Changing a form’s Text property will change the form’s name.

Computer Science & Information Technology

Draw an inheritance hierarchy for students at a university similar to the hierarchy shown in Fig. 12.2. Use Student as the base class of the hierarchy, then include classes UndergraduateStudent and GraduateStudent that derive from Student. Continue to extend the hierarchy as deep (i.e., as many levels) as possible. For example, Freshman, Sophomore, Junior and Senior might derive from UndergraduateStudent, and DoctoralStudent and MastersStudent might derive from Graduate-Student. After drawing the hierarchy, discuss the relationships that exist between the classes. [Note: You do not need to write any code for this exercise.]

What will be an ideal response?

Computer Science & Information Technology