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

1) You cannot validate values assigned to properties using an object
initializer.
2) Methods that overload binary operators must take two arguments.
3) Operators should be overloaded to perform actions similar to those that
they normally perform on objects of simple types.
4) At least one argument of an operator overload method must be a reference
to an object of the class in which the operator is overloaded.


1) F
2) T
3) T
4) T

Computer Science & Information Technology

You might also like to view...

What is the shortcut key for the Rotate tool?

What will be an ideal response?

Computer Science & Information Technology

Which of the following are NOT dynamic routing protocols? (Choose two answers.)

A. IGP B. OSPF C. EGP D. BGP E. Both A and C

Computer Science & Information Technology

You can view all grouped worksheets in Print Preview.

a. true b. false

Computer Science & Information Technology

The _______ switch can be used with thesplitcommand to adjust the size of segmented volumes created by theddcommand.

A. ?-p B. ?-s C. ?-b D. ?-S

Computer Science & Information Technology