Case 11-2
Inheritance can be a tricky concept to understand, so you are working with your classmates to come up with some ways to remember how it works.
Given a class called Student (to represent students at a university), which of the following is likely to be an attribute contained in that class that can be inherited by the members of a subclass called OnCampusStudent?

A. Student ID
B. Number of Courses
C. Student Name
D. all of the above


Answer: D

Computer Science & Information Technology

You might also like to view...

Microsoft Outlook is an example of a(n) ________, which is used to manage your email, calendar, and tasks

Fill in the blank(s) with correct word

Computer Science & Information Technology

In Slide Sorter view, move a slide by clicking and dragging it to its new location in the presentation

Indicate whether the statement is true or false

Computer Science & Information Technology

The escape sequence \0 is called the ____ character.

a. null b. newline c. tab d. zero

Computer Science & Information Technology

You want to design a small portable computer system with memory that can be updated, but that does not lose its contents when the device is turned off. What chip should be used?

A. CMOS B. ROM C. RAM D. POST

Computer Science & Information Technology