MCQOPTIONS
Saved Bookmarks
| 1. |
Which of the following statements are correct about a delegate?1. Inheritance is a prerequisite for using delegates.2. Delegates are type-safe.3. Delegates provide wrappers for function pointers.4. The declaration of a delegate must match the signature of the method that we intend to call using it.5. Functions called using delegates are always late-bound. |
| A. | 1 and 2 only |
| B. | 1, 2 and 3 only |
| C. | 2, 3 and 4 only |
| D. | All of the above |
| Answer» D. All of the above | |