MCQOPTIONS
Saved Bookmarks
| 1. |
For the code set given below,which of the following statements are perfectly valid? public class MyContainer where T: class, IComparable { /* insert code here */ } |
| A. | Class MyConatiner requires that its type argument must implement Icomparable interface |
| B. | There are multiple constraints on type argument to MyConatiner class |
| C. | Compiler will report an error |
| D. | None of the mentioned |
| Answer» C. Compiler will report an error | |