MCQOPTIONS
Saved Bookmarks
| 1. |
Which of the following statements are correct?1. A struct can contain properties.2. A struct can contain constructors.3. A struct can contain protected data members.4. A struct cannot contain methods.5. A struct cannot contain constants. |
| A. | 1, 2 |
| B. | 3, 4 |
| C. | 1, 2, 4 |
| D. | 3, 5 |
| Answer» B. 3, 4 | |