Answer the following statements true (T) or false (F)
1. A GroupBox’s Text property displays in the upper-left corner of the GroupBox.
2. You can dock a control to the Top, Bottom, Left, Right or Outside of a Form by selecting the appropriate value for the control’s Dock property in the Properties window.
3. Overloaded methods normally perform similar tasks, but on different types of data.
4. Optional arguments can be placed in any particular order with non-Optional arguments in a method header.
5. You must provide a default value for any arguments that are declared Optional.
1. True
2. False. You can dock a control to the Top, Bottom, Left, Right or Center of a Form by selecting the appropriate value for the control’s Dock property in the Properties window
3.True
4. False. Optional arguments must be listed as the last arguments. If this weren’t required, there would be no way to determine if a supplied value would be the Optional argument or a required argument that may be listed after it.
5. True.
You might also like to view...
The Borders and Shading dialog box can be opened from the Page Border button and the:
A) Text Effects button. B) Borders arrow. C) Show/Hide button. D) Style gallery.
To reset the format state of the output stream:
a. Call the reset member function. b. Call the flags member function with the ios_base::fmtflags constant as the argument. c. Save a copy of the fmtflags value returned by calling member function flags before making any format changes, and then call flags again with that fmtflags value as the argument. d. You must manually apply each individual format change member function or stream manipulator to restore the default format state.