Based on the diagram in the accompanying figure, the method setDimension in the class Box ____ the method setDimension in the class Rectangle.

A. overloads
B. overrides
C. overstates
D. deletes


Answer: A

Computer Science & Information Technology

You might also like to view...

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

1. When an operator has two operands of different data types, C++ always converts them both to double before performing the operation. 2. The following pair of C++ statements will cause 3.5 to be output. double number = 7 / 2; cout << number; 3. The following statement sets sum1, sum2, and sum3 all to zero. sum1 = sum2 = sum3 = 0; 4. If the value of dollars is 5.0, the following statement will output 5.00 to the monitor: cout << fixed << showpoint << setprecision(4) << dollars << endl; 5. The following statement sets the value of total to -3. total -= 3;

Computer Science & Information Technology

Design an Ajax style of Web page that would allow a dean at a community college to select part-time instructors. The dean should be able to select a discipline or a course and have the server send an X M L document containing all the potential part-time instructors for the selection. The X M L document should be used to populate a drop-down list of the instructor names. Clicking an instructor’s name would display information about the potential instructor.

Decide what information to include that would help the dean make a decision on whom to hire. (Hint: part-time instructors may be able to teach only on certain days or only in the morning, afternoon, or evening.)

Computer Science & Information Technology

Softening blurs the edges of images within a photograph

Indicate whether the statement is true or false

Computer Science & Information Technology

A custom slide show is saved as part of the original presentation file

Indicate whether the statement is true or false

Computer Science & Information Technology