MCQOPTIONS
Saved Bookmarks
| 1. |
If math class had add property with get and set accessors, then which of the following statements will work correctly? |
| A. | math.add = 20; |
| B. | math m = new math(); m.add = 10; |
| C. | Console.WriteLine(math.ad |
| D. | ;d) None of the mentioned |
| Answer» C. Console.WriteLine(math.ad | |