When a superclass is abstract, you cannot instantiate objects of a superclass. How can you use a superclass abstract object?

What will be an ideal response?


When a superclass is abstract, you cannot instantiate objects of the superclass; however, you can indirectly create a reference to a superclass abstract object. A reference is not an object, but it points to a memory address. When you create a reference, you do not use the keyword new to create a concrete object; instead, you create a variable name in which you can hold the memory address of a concrete object.

Computer Science & Information Technology

You might also like to view...

Which of the following is not a part of the Six Sigma methodology?

A) Define the problem. B) Analyze the cause. C) Standardize the changes. D) Implement the solution. E) Draw conclusions.

Computer Science & Information Technology

________ formats a control based on one or more comparisons to a set rule

Fill in the blank(s) with correct word

Computer Science & Information Technology

If the numeric values in cells B1:B9 are selected, and row 10 is empty when the AutoSum button is clicked, the sum of the range (B1:B9) appears in cell ________

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

Computer Science & Information Technology

Nearly every professionally developed Web page will contain two sections: the ____ and the body.

A. footer B. header C. title D. footnote

Computer Science & Information Technology