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

1. Downcasting should be used only in situations where it makes sense.
2. The method clone has one parameter and should return a copy of the calling object.
3. An abstract class is a class that has some methods without complete definitions.
4. An abstract method serves as a placeholder for a method that must be defined in all derived classes.


1. True
2. False
3. True
4. True

Computer Science & Information Technology

You might also like to view...

I have a pointer, nodePtr to a node that is a struct in a linked list. I want to access the member named data. I do this using the expression

a) nodePtr.data b) nodePtr->data c) *nodePtr.data d) (*nodePtr).data e) data is private, you can’t access data under any circumstances.

Computer Science & Information Technology

Tiny charts embedded in a cell that display a visual trend summary alongside your data are called ________

A) Data labels B) Sparklines C) Data markers D) Data series

Computer Science & Information Technology

To edit a footnote, click in the footnote and revise.

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

Computer Science & Information Technology

Describe the differences between BIOS and UEFI firmware.

What will be an ideal response?

Computer Science & Information Technology