Under which circumstance can an instance variable be moved to an abstract class?

A. when it refers to the same type of data structure
B. when it is unique to a particular concrete class
C. when different data structure types are referenced by the variable
D. when it directly modifies the underlying data structure


Answer: A

Computer Science & Information Technology

You might also like to view...

Write an OQL query that, for each major, computes the number of students who have that major. Use the Student class de?ned in (14.14)

What will be an ideal response?

Computer Science & Information Technology

Hannah, a financial analyst, creates a balance sheet for one of her clients. When she prints the balance sheet, the content appears split at awkward places on the sheet. Hannah decides to reprint the sheet. In this scenario, Hannah should use the _____ to split the Excel sheet into logical segments.?

A. ?Quick Analysis tool B. ?manual page break C. ?automatic page break D. ?Header & Footer tool

Computer Science & Information Technology

____________________ computing involves reducing the electricity consumed and environmental waste generated when using a computer.

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

Computer Science & Information Technology

When you design Windows applications using Visual Studio, you must be sure to add program statements to call the Dispose( ) method to clean up or release unused resources back to the operating system.

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

Computer Science & Information Technology