Answer the following questions true (T) or false (F)
1. A local class and a nested class are the same thing.
2. Overloading a binary operator as a stand-alone function requires two arguments.
1. False
Explanation: A local class has its definition in a block, whereas a nested class has its definition within another class.
2. True
Explanation: Consider a use of the operator _:
leftAObject + rightAObject;
This translates to
operator+(rightAObject, leftAObject);
requiring two arguments.
You might also like to view...
Just like in Form Design view, you can adjust the height of a section by dragging its bottom edge up or down, and you can select a section in a report by clicking its ____.
A. control icon B. section bar C. upper edge D. lower edge
The name of a two-dimensional array is a pointer to an array.
Answer the following statement true (T) or false (F)
It is a good programming style to indent dependent statements.
Answer the following statement true (T) or false (F)
Decision-making on a program depends on ____.
A. classes B. conditions C. primitives D. objects