How can a programmer optimize the use of pointers to access the same virtual function used in several child classes?
A. A while loop is executed calling each child pointer.
B. The pointers are held in an array and a for loop is used.
C. An if statement can determine the best object.
D. A switch statement can be nested in a while loop, accessing the pointers.
B. The pointers are held in an array and a for loop is used.
You might also like to view...
y and z are user-defined objects and the += operator is an overloaded member function. The operator is overloaded such that y += z adds z and y, then stores the result in y. Which of the following expressions is always equivalent to y += z?
a. y = y operator+= z b. y.operator+=( z ) c. y = y + z d. y operator+=( y + z )
If you want your code to execute a method, write a statement known as a(n) ____________.
a. event handler b. executor statement c. initialization routine d. method call
In a SharePoint list, a row is referred to as a ________
A) asset B) table C) record D) field
The ________ Table Style option applies a different format to the first column of a table so that the row headings stand out
Fill in the blank(s) with correct word