Answer the following statements true (T) or false (F)
1) Unary operators can be overloaded to accept two operands.
2) Operator overloading cannot change how an operator works with built-in types.
3) Comparison operators can be overloaded.
4) Subtraction can be overloaded with either special method, __neg__ or __sub__.
5) A class must define special methods to provide a dictionary-like interface.
1) F
2) T
3) T
4) F
5) F
You might also like to view...
When you click the button marked 3 in the accompanying figure, the pointer changes to a ____.
A. pointing finger B. crosshair C. watch D. half-moon
Which of the following is not true about TrueType fonts?
A) They must be downloaded from the Web. B) They print smoothly at any point size. C) They are scalable. D) They are supported by Windows.
When the underlying data changes, a PivotTable automatically updates
Indicate whether the statement is true or false
Rebooting a PC to troubleshoot a problem falls in the category of looking for a simple, obvious solution.
Answer the following statement true (T) or false (F)