If you declared an object that contained a virtual function, is it possible to call this function directly with an object (instead of with a base-class pointer)?

What will be an ideal response?


Yes, the function can be called in the “normal” manner, via an object and dot operator.

Computer Science & Information Technology

You might also like to view...

If we know that 100 elements have been allocated to a two-dimensional array named MyArray, which of the following is not a possible way to declareMyArray?

a. Declare MyArray[10, 10] b. Declare MyArray[25, 4] c. Declare MyArray[20, 5] d. all of the above are possible

Computer Science & Information Technology

Each member of the Keys enumeration is a(n) ________ representing a keyboard key.

a) string b) double c) Key d) int e) object

Computer Science & Information Technology

The property returns an object containing all the values in a ListBox.

a) All b) List c) ListItemValues d) Items

Computer Science & Information Technology

As a first step in troubleshooting, and before attempting to establish how to fix a reported computer issue, the technician should question the user about the symptoms to identify the problem as exactly as possible

Indicate whether the statement is true or false

Computer Science & Information Technology